Update be.yaml #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QEMU to run s390x-focal | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
one: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup multiarch/qemu-user-static | |
run: | | |
docker run --rm --privileged multiarch/qemu-user-static:register --reset | |
- name: ubuntu-core:s390x-focal | |
uses: docker://multiarch/ubuntu-core:s390x-focal | |
with: | |
args: > | |
bash -c | |
"uname -a && | |
lscpu | grep Endian | |
" | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: configure | |
uses: docker://multiarch/ubuntu-core:s390x-focal | |
with: | |
args: > | |
bash -c | |
"uname -a && | |
lscpu | grep Endian && | |
apt-get -y update && | |
apt-get -y install cmake build-essentials && | |
mkdir _build && cd _build && | |
cmake ../ -DENABLE_STDCXX_SYNC=ON -DENABLE_ENCRYPTION=ON -DENABLE_UNITTESTS=ON -DENABLE_BONDING=ON -DENABLE_TESTING=ON -DENABLE_EXAMPLES=ON -DENABLE_CODE_COVERAGE=ON" | |
- name: build | |
run: cd _build && cmake --build ./ | |
- name: test | |
run: | | |
cd _build && ctest --extra-verbose | |