Skip to content

Commit 13a5efd

Browse files
committed
test: Add ci job for s390x
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent 83aec59 commit 13a5efd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,33 @@ jobs:
7171

7272
- run: cargo test --no-fail-fast --all-features --workspace --exclude jsonschema-py --exclude jsonschema-rb
7373

74+
test-cross:
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
target:
79+
- s390x-unknown-linux-gnu # big-endian;
80+
81+
name: Test on ${{ matrix.target }}
82+
runs-on: ubuntu-24.04
83+
timeout-minutes: 60
84+
steps:
85+
- uses: actions/checkout@v6
86+
with:
87+
submodules: true
88+
89+
- uses: dtolnay/rust-toolchain@stable
90+
91+
- uses: Swatinem/rust-cache@v2
92+
with:
93+
cache-all-crates: "true"
94+
key: ${{ matrix.target }}
95+
96+
- uses: taiki-e/install-action@cross
97+
98+
- name: Run tests on ${{ matrix.target }}
99+
run: cross test --target ${{ matrix.target }} --no-fail-fast --all-features -p jsonschema
100+
74101
test-wasm:
75102
strategy:
76103
fail-fast: false

0 commit comments

Comments
 (0)