Skip to content

Commit 0d6e714

Browse files
committed
run Miri tests on CI
1 parent 53fe1a3 commit 0d6e714

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,3 +273,15 @@ jobs:
273273
run: |
274274
echo "Found AVX features: $CPU_FEATURE"
275275
RUSTFLAGS="-Dwarnings -Ctarget-feature=$CPU_FEATURE" cargo test --all-targets --no-default-features ${{ matrix.features }}
276+
277+
miri:
278+
runs-on: ubuntu-latest
279+
steps:
280+
- uses: actions/checkout@v2
281+
- name: Setup Rust
282+
run: |
283+
rustup update nightly --no-self-update
284+
rustup default nightly
285+
rustup component add miri rust-src
286+
- name: Test (Miri)
287+
run: cargo miri test

0 commit comments

Comments
 (0)