Skip to content

Commit 7c5acfa

Browse files
committed
Add QEMU CI runner for the s390x architecture
* Add QEMU CI runner for s390x * Disable lightbeam tests for s390x
1 parent 87ff24a commit 7c5acfa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@ jobs:
236236
qemu_target: aarch64-linux-user
237237
# FIXME(#3183) shouldn't be necessary to specify this
238238
qemu_flags: -cpu max,pauth=off
239+
- os: ubuntu-latest
240+
target: s390x-unknown-linux-gnu
241+
gcc_package: gcc-s390x-linux-gnu
242+
gcc: s390x-linux-gnu-gcc
243+
qemu: qemu-s390x -L /usr/s390x-linux-gnu
244+
qemu_target: s390x-linux-user
239245
steps:
240246
- uses: actions/checkout@v2
241247
with:
@@ -326,9 +332,9 @@ jobs:
326332
# Build and test lightbeam. Note that
327333
# Lightbeam tests fail right now, but we don't want to block on that.
328334
- run: cargo build --package lightbeam
329-
if: matrix.target != 'aarch64-unknown-linux-gnu'
335+
if: matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 's390x-unknown-linux-gnu'
330336
- run: cargo test --package lightbeam
331-
if: matrix.target != 'aarch64-unknown-linux-gnu'
337+
if: matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 's390x-unknown-linux-gnu'
332338
continue-on-error: true
333339
env:
334340
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)