ci: Run `cargo miri setup` and `cargo miri test`
@@ -10,10 +10,24 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
override: true
+ components: miri, rust-src
- uses: actions-rs/cargo@v1
+ name: cargo test
with:
command: test
args: ${{ matrix.profile.flag }}
+ - uses: actions-rs/cargo@v1
+ name: cargo miri setup
+ with:
+ command: miri
+ args: setup
+ - uses: actions-rs/cargo@v1
+ name: cargo miri test
+ env:
+ MIRIFLAGS: "-Zmiri-disable-isolation"
+ with:
+ command: miri
+ args: test
strategy:
fail-fast: false
matrix:
