Skip to content

Commit

Permalink
run Miri tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 6, 2024
1 parent 5fa5358 commit 243655b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,15 @@ jobs:
run: |
echo "Found AVX features: $CPU_FEATURE"
RUSTFLAGS="-Dwarnings -Ctarget-feature=$CPU_FEATURE" cargo test --all-targets --no-default-features ${{ matrix.features }}
miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust
run: |
rustup update nightly --no-self-update
rustup default nightly
rustup component add miri rust-src
- name: Test (Miri)
run: cargo miri test

0 comments on commit 243655b

Please sign in to comment.