Skip to content

Commit

Permalink
ensure it actually builds and works in Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung authored and Gankra committed May 21, 2022
1 parent cbbfef1 commit 796f0f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: Test with Miri
run: cargo miri test

0 comments on commit 796f0f2

Please sign in to comment.