Skip to content

Commit 4a75d82

Browse files
committed
Include miri, drop cargotest
1 parent c23d548 commit 4a75d82

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ X_PY="$1"
88

99
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
1010

11+
# Pre-build the compiler and the library first to output a better error message when the build
12+
# itself fails (see https://github.com/rust-lang/rust/issues/127869 for context).
13+
python3 "$X_PY" build --stage 2 compiler rustdoc
14+
1115
set +e
1216
python3 "$X_PY" test --stage 2 --no-fail-fast \
1317
src/doc/book \

src/ci/github-actions/jobs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ envs:
8282
pr:
8383
- image: x86_64-msvc-ext1
8484
env:
85-
SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
85+
SCRIPT: python x.py --stage 2 test src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
8686
HOST_TARGET: x86_64-pc-windows-msvc
8787
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json --set build.cargo=C:/a/rust/rust/cargo.exe
8888
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
8989
<<: *job-windows-8c
9090
- image: x86_64-msvc-ext2
9191
env:
92-
SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
92+
SCRIPT: python x.py --stage 2 test src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
9393
HOST_TARGET: x86_64-pc-windows-msvc
9494
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json --set build.cargo=C:/a/rust/rust/cargo.exe
9595
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json

0 commit comments

Comments
 (0)