Skip to content

Commit 9e35555

Browse files
committed
smoke-test 'x.py test --miri' on CI
1 parent ecc714d commit 9e35555

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

+5
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,8 @@ case $HOST_TARGET in
6262
exit 1
6363
;;
6464
esac
65+
# Also smoke-test `x.py miri`. This doesn't run any actual tests (that would take too long),
66+
# but it ensures that the crates build properly when tested with Miri.
67+
python3 "$X_PY" miri --stage 2 library/core --test-args notest
68+
python3 "$X_PY" miri --stage 2 library/alloc --test-args notest
69+
python3 "$X_PY" miri --stage 2 library/std --test-args notest

0 commit comments

Comments
 (0)