Skip to content

Commit

Permalink
Add miri to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 authored and Amanieu committed Feb 20, 2024
1 parent 8c739d0 commit 97fccb6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ jobs:
- run: cargo fmt -- --check
- run: cargo test
- run: cargo bench
miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup toolchain install nightly --component miri && rustup default nightly
- run: cargo miri test
env:
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout

0 comments on commit 97fccb6

Please sign in to comment.