Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b2e6465

Browse files
committed
ensure that benchmarks can actually run
1 parent 6ec8909 commit b2e6465

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ function run_tests {
4040
# any interactive questions.
4141
${PYTHON} test-cargo-miri/run-test.py
4242
echo
43+
44+
# Ensure that our benchmarks all work, on the host at least.
45+
if [ -z "${MIRI_TEST_TARGET+exists}" ]; then
46+
for BENCH in $(ls "bench-cargo-miri"); do
47+
cargo miri run --manifest-path bench-cargo-miri/$BENCH/Cargo.toml
48+
done
49+
fi
4350
}
4451

4552
function run_tests_minimal {

0 commit comments

Comments
 (0)