Skip to content

Commit

Permalink
ci: add miri job
Browse files Browse the repository at this point in the history
This is particularly useful given some of the recent
bugs caught by Miri.

PR #127
  • Loading branch information
dtolnay committed Sep 3, 2022
1 parent 2b1bd05 commit 77105cf
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 @@ -101,3 +101,15 @@ jobs:
working-directory: ./bench
run: |
cargo fmt -- --check
miri:
name: miri
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@miri
- run: cargo miri test --lib --verbose
env:
MIRIFLAGS: -Zmiri-strict-provenance

0 comments on commit 77105cf

Please sign in to comment.