ci: update miri task

This commit is contained in:
naskya 2024-07-06 03:24:52 +09:00
parent 012a564265
commit 55c6255f58
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
2 changed files with 5 additions and 2 deletions

View File

@ -328,10 +328,12 @@ cargo:test:miri:
- if: $MIRI - if: $MIRI
script: script:
- export RUST_BACKTRACE=1 - export RUST_BACKTRACE=1
- export CARGO_TARGET_DIR='ci/target-miri'
- export MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
- curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/cargo/bin - curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/cargo/bin
- rustup default nightly - rustup set profile minimal
- rustup override set "${MIRI_NIGHTLY}"
- rustup component add miri - rustup component add miri
- rustup update
- MIRIFLAGS='-Zmiri-disable-isolation' cargo miri nextest run -j$(nproc --all) - MIRIFLAGS='-Zmiri-disable-isolation' cargo miri nextest run -j$(nproc --all)
renovate: renovate:

1
ci/.gitignore vendored
View File

@ -1 +1,2 @@
target-msrv/ target-msrv/
target-miri/