Add a miri test job in CI

This commit is contained in:
David Tolnay 2022-07-08 12:01:29 -07:00
parent 9741a6dd27
commit 2c9d723706
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -36,3 +36,13 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
miri:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri test
env:
MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-strict-provenance