File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -192,3 +192,14 @@ jobs:
192
192
- name : Install Rust
193
193
run : rustup update 1.40.0 && rustup default 1.40.0
194
194
- run : cargo build
195
+
196
+ miri :
197
+ name : Miri
198
+ runs-on : ubuntu-latest
199
+ steps :
200
+ - uses : actions/checkout@v1
201
+ with :
202
+ submodules : true
203
+ - name : Install Rust
204
+ run : ./ci/miri-rustup.sh
205
+ - run : MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test
Original file line number Diff line number Diff line change
1
+ set -ex
2
+
3
+ MIRI_NIGHTLY=nightly-$( curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
4
+ echo " Installing latest nightly with Miri: $MIRI_NIGHTLY "
5
+ rustup set profile minimal
6
+ rustup default " $MIRI_NIGHTLY "
7
+ rustup component add miri
You can’t perform that action at this time.
0 commit comments