Skip to content

Commit f8273af

Browse files
authored
cmov: test using miri (#1296)
1 parent f0ad56b commit f8273af

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/cmov.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,19 @@ jobs:
121121
targets: ${{ matrix.target }}
122122
- uses: RustCrypto/actions/cross-install@master
123123
- run: cross test --target ${{ matrix.target }}
124+
125+
# Test using `cargo miri`
126+
test-miri:
127+
runs-on: ubuntu-latest
128+
env:
129+
MIRIFLAGS: "-Zmiri-symbolic-alignment-check -Zmiri-strict-provenance"
130+
strategy:
131+
matrix:
132+
target:
133+
- x86_64-unknown-linux-gnu
134+
- s390x-unknown-linux-gnu
135+
steps:
136+
- uses: actions/checkout@v6
137+
- uses: dtolnay/rust-toolchain@nightly
138+
- run: rustup component add miri && cargo miri setup
139+
- run: cargo miri test --target ${{ matrix.target }} --all-features --lib

0 commit comments

Comments
 (0)