From 7c5acfa96c450dc4f665eb315d2428374d87b55e Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 20 Sep 2021 16:33:16 +0200 Subject: [PATCH] Add QEMU CI runner for the s390x architecture * Add QEMU CI runner for s390x * Disable lightbeam tests for s390x --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf9e84993157..24c41b1b0be9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -236,6 +236,12 @@ jobs: qemu_target: aarch64-linux-user # FIXME(#3183) shouldn't be necessary to specify this qemu_flags: -cpu max,pauth=off + - os: ubuntu-latest + target: s390x-unknown-linux-gnu + gcc_package: gcc-s390x-linux-gnu + gcc: s390x-linux-gnu-gcc + qemu: qemu-s390x -L /usr/s390x-linux-gnu + qemu_target: s390x-linux-user steps: - uses: actions/checkout@v2 with: @@ -326,9 +332,9 @@ jobs: # Build and test lightbeam. Note that # Lightbeam tests fail right now, but we don't want to block on that. - run: cargo build --package lightbeam - if: matrix.target != 'aarch64-unknown-linux-gnu' + if: matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 's390x-unknown-linux-gnu' - run: cargo test --package lightbeam - if: matrix.target != 'aarch64-unknown-linux-gnu' + if: matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 's390x-unknown-linux-gnu' continue-on-error: true env: RUST_BACKTRACE: 1