File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ jobs:
57
57
~/.cargo/bin
58
58
~/.cargo/.crates.toml
59
59
~/.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
62
62
63
- - name : Install rustup-toolchain-install-master
63
+ - name : Install tools
64
64
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
66
66
67
67
- name : Install miri toolchain
68
68
run : |
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ function run_tests {
78
78
done
79
79
fi
80
80
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
83
83
fi
84
84
85
85
# # test-cargo-miri
You can’t perform that action at this time.
0 commit comments