Skip to content

Merge pull request #2 from symplely/master #2

Merge pull request #2 from symplely/master

Merge pull request #2 from symplely/master #2

Workflow file for this run

name: arch64 & others by qemu
on: [push, pull_request]
jobs:
build-qemu:
name: ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: aarch64
arch: aarch64
- target: ppc64v2
arch: ppc64le
- target: riscv64
arch: riscv64
- target: s390x
arch: s390x
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ubuntu_latest
install: |
apt-get update -q -y
apt-get install -q -y --no-install-recommends cmake build-essential
env: |
# Valgrind on arm will fail if the stack size is larger than 8MB.
# Set QEMUs stack size to 8MB since Github runners use 16MB default.
QEMU_STACK_SIZE: 8388608
run: |
mkdir build
cd build
cmake ..
cmake --build .
cd bin
./chan_3
./primes
./testdelay 2