File tree 2 files changed +19
-15
lines changed
docker/host-x86_64/x86_64-gnu-tools
2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,28 @@ X_PY="$1"
8
8
9
9
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
10
10
11
- set +e
12
- python3 " $X_PY " test --stage 2 --no-fail-fast \
13
- src/doc/book \
14
- src/doc/nomicon \
15
- src/doc/reference \
16
- src/doc/rust-by-example \
17
- src/doc/embedded-book \
18
- src/doc/edition-guide \
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
19
14
20
- set -e
15
+ # set +e
16
+ # python3 "$X_PY" test --stage 2 --no-fail-fast \
17
+ # src/doc/book \
18
+ # src/doc/nomicon \
19
+ # src/doc/reference \
20
+ # src/doc/rust-by-example \
21
+ # src/doc/embedded-book \
22
+ # src/doc/edition-guide \
23
+
24
+ # set -e
21
25
22
26
# debugging: print out the saved toolstates
23
27
cat /tmp/toolstate/toolstates.json
24
-
28
+ #
25
29
# Test remaining tools that must pass.
26
- python3 " $X_PY " test --stage 2 check-tools
27
- python3 " $X_PY " test --stage 2 src/tools/clippy
28
- python3 " $X_PY " test --stage 2 src/tools/rustfmt
30
+ # python3 "$X_PY" test --stage 2 check-tools
31
+ # python3 "$X_PY" test --stage 2 src/tools/clippy
32
+ # python3 "$X_PY" test --stage 2 src/tools/rustfmt
29
33
30
34
# Testing Miri is a bit more complicated.
31
35
# We set the GC interval to the shortest possible value (0 would be off) to increase the chance
Original file line number Diff line number Diff line change @@ -82,14 +82,14 @@ envs:
82
82
pr :
83
83
- image : x86_64-msvc-ext1
84
84
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
86
86
HOST_TARGET : x86_64-pc-windows-msvc
87
87
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
88
88
DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
89
89
<< : *job-windows-8c
90
90
- image : x86_64-msvc-ext2
91
91
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
93
93
HOST_TARGET : x86_64-pc-windows-msvc
94
94
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
95
95
DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
You can’t perform that action at this time.
0 commit comments