Skip to content

Commit

Permalink
Stop wasting time in CI on MIRI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Sep 25, 2022
1 parent ebb28f5 commit 00e3ac6
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,36 +353,6 @@ jobs:
- name: Run clippy
run: ci/scripts/rust_clippy.sh

miri-checks:
name: cargo miri test (amd64)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Rust toolchain
run: |
rustup toolchain install nightly-2022-01-17
rustup default nightly-2022-01-17
rustup component add rustfmt clippy miri
- name: Run Miri Checks
env:
RUST_BACKTRACE: full
RUST_LOG: "trace"
MIRIFLAGS: "-Zmiri-disable-isolation"
run: |
cargo miri setup
cargo clean
# Ignore MIRI errors until we can get a clean run
cargo miri test || true
# Check answers are correct when hash values collide
hash-collisions:
name: cargo test hash collisions (amd64)
Expand Down

0 comments on commit 00e3ac6

Please sign in to comment.