Skip to content

Commit

Permalink
[CI] Test on riscv64gc-unknown-linux-gnu target (#269)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joshlf committed Aug 16, 2023
1 parent 11a92e4 commit d0724b2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# See `INTERNAL.md` for an explanation of these pinned toolchain
# versions.
toolchain: [ "msrv", "stable", "nightly" ]
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" ]
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" ]
features: [ "--no-default-features", "", "--features __internal_use_only_features_that_work_on_stable", "--all-features" ]
crate: [ "zerocopy", "zerocopy-derive" ]
exclude:
Expand Down Expand Up @@ -165,8 +165,9 @@ jobs:
# Only nightly has a working Miri, so we skip installing on all other
# toolchains.
#
# TODO(#22): Re-enable testing on wasm32-wasi once it works.
if: matrix.toolchain == 'nightly' && matrix.target != 'wasm32-wasi'
# TODO(#22): Re-enable testing on riscv64gc-unknown-linux-gnu and/or
# wasm32-wasi once those work.
if: matrix.toolchain == 'nightly' && matrix.target != 'riscv64gc-unknown-linux-gnu' && matrix.target != 'wasm32-wasi'

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

0 comments on commit d0724b2

Please sign in to comment.