Skip to content

Commit 281f789

Browse files
committed
[CI] Test on riscv64gc-unknown-linux-gnu target (#269)
We disable Miri testing for this target because it doesn't appear to be supported (see #22 and [1]). [1] https://github.com/google/zerocopy/actions/runs/5883275147/job/15955625276?pr=269
1 parent 68947aa commit 281f789

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# See `INTERNAL.md` for an explanation of these pinned toolchain
3333
# versions.
3434
toolchain: [ "msrv", "stable", "nightly" ]
35-
target: [ "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "aarch64-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "powerpc64-unknown-linux-gnu", "wasm32-wasi" ]
35+
target: [ "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "aarch64-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "powerpc64-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu", "wasm32-wasi" ]
3636
features: [ "--no-default-features", "", "--features __internal_use_only_features_that_work_on_stable", "--all-features" ]
3737
crate: [ "zerocopy", "zerocopy-derive" ]
3838
exclude:
@@ -165,8 +165,9 @@ jobs:
165165
# Only nightly has a working Miri, so we skip installing on all other
166166
# toolchains.
167167
#
168-
# TODO(#22): Re-enable testing on wasm32-wasi once it works.
169-
if: matrix.toolchain == 'nightly' && matrix.target != 'wasm32-wasi'
168+
# TODO(#22): Re-enable testing on riscv64gc-unknown-linux-gnu and/or
169+
# wasm32-wasi once those work.
170+
if: matrix.toolchain == 'nightly' && matrix.target != 'riscv64gc-unknown-linux-gnu' && matrix.target != 'wasm32-wasi'
170171

171172
- name: Run doc tests
172173
# We explicitly pass `--doc` here because doc tests are disabled by

0 commit comments

Comments
 (0)