ci: add miri task

This commit is contained in:
naskya 2024-07-06 02:16:31 +09:00
parent db0ca693c6
commit 012a564265
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -322,6 +322,18 @@ cargo:doc:
- cd target/doc
- npx --yes netlify-cli deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.
cargo:test:miri:
stage: test
rules:
- if: $MIRI
script:
- export RUST_BACKTRACE=1
- curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/cargo/bin
- rustup default nightly
- rustup component add miri
- rustup update
- MIRIFLAGS='-Zmiri-disable-isolation' cargo miri nextest run -j$(nproc --all)
renovate:
stage: dependency
image: