File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ jobs:
5757 ~/.cargo/bin
5858 ~/.cargo/.crates.toml
5959 ~/.cargo/.crates2.json
60- key : cargo-${{ runner.os }}-reset20240331 -${{ hashFiles('**/Cargo.lock') }}
61- restore-keys : cargo-${{ runner.os }}-reset20240331
60+ key : cargo-${{ runner.os }}-reset20240425 -${{ hashFiles('**/Cargo.lock') }}
61+ restore-keys : cargo-${{ runner.os }}-reset20240425
6262
63- - name : Install rustup-toolchain-install-master
63+ - name : Install tools
6464 if : ${{ steps.cache.outputs.cache-hit != 'true' }}
65- run : cargo install -f rustup-toolchain-install-master
65+ run : cargo install -f rustup-toolchain-install-master hyperfine
6666
6767 - name : Install miri toolchain
6868 run : |
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ function run_tests {
7878 done
7979 fi
8080 if [ -n " ${TEST_BENCH-} " ]; then
81- # Check that the benchmarks build and run, but without actually benchmarking .
82- time HYPERFINE=" ' $BASH ' -c " ./miri bench
81+ # Check that the benchmarks build and run, but only once .
82+ time HYPERFINE=" hyperfine -w0 -r1 " ./miri bench
8383 fi
8484
8585 # # test-cargo-miri
You can’t perform that action at this time.
0 commit comments