Skip to content

Commit 4d49ddc

Browse files
committed
Auto merge of rust-lang#134150 - tgross35:test-msvc-revert, r=<try>
[experiment] Try reverting the MSVC workarounds Get a fresh set of runs with the following workarounds reverted: - rust-lang#130151 - rust-lang#130072 - rust-lang#133248 try-job: x86_64-msvc try-job: x86_64-msvc-ext
2 parents 33c245b + d328ccf commit 4d49ddc

File tree

2 files changed

+8
-37
lines changed

2 files changed

+8
-37
lines changed

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

+5-12
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,8 @@ case $HOST_TARGET in
5858
# Strangely, Linux targets do not work here. cargo always says
5959
# "error: cannot produce cdylib for ... as the target ... does not support these crate types".
6060
# Only run "pass" tests, which is quite a bit faster.
61-
#FIXME: Re-enable this once CI issues are fixed
62-
# See <https://github.com/rust-lang/rust/issues/127883>
63-
# For now, these tests are moved to `x86_64-msvc-ext2` in `src/ci/github-actions/jobs.yml`.
64-
#python3 "$X_PY" test --stage 2 src/tools/miri --target aarch64-apple-darwin --test-args pass
65-
#python3 "$X_PY" test --stage 2 src/tools/miri --target i686-pc-windows-gnu --test-args pass
61+
python3 "$X_PY" test --stage 2 src/tools/miri --target aarch64-apple-darwin --test-args pass
62+
python3 "$X_PY" test --stage 2 src/tools/miri --target i686-pc-windows-gnu --test-args pass
6663
;;
6764
*)
6865
echo "FATAL: unexpected host $HOST_TARGET"
@@ -71,10 +68,6 @@ case $HOST_TARGET in
7168
esac
7269
# Also smoke-test `x.py miri`. This doesn't run any actual tests (that would take too long),
7370
# but it ensures that the crates build properly when tested with Miri.
74-
75-
#FIXME: Re-enable this for msvc once CI issues are fixed
76-
if [ "$HOST_TARGET" != "x86_64-pc-windows-msvc" ]; then
77-
python3 "$X_PY" miri --stage 2 library/core --test-args notest
78-
python3 "$X_PY" miri --stage 2 library/alloc --test-args notest
79-
python3 "$X_PY" miri --stage 2 library/std --test-args notest
80-
fi
71+
python3 "$X_PY" miri --stage 2 library/core --test-args notest
72+
python3 "$X_PY" miri --stage 2 library/alloc --test-args notest
73+
python3 "$X_PY" miri --stage 2 library/std --test-args notest

src/ci/github-actions/jobs.yml

+3-25
Original file line numberDiff line numberDiff line change
@@ -432,35 +432,13 @@ auto:
432432
SCRIPT: make ci-msvc
433433
<<: *job-windows-8c
434434

435-
# x86_64-msvc-ext is split into multiple jobs to run tests in parallel.
436-
- image: x86_64-msvc-ext1
435+
- image: x86_64-msvc-ext
437436
env:
438-
SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
439-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
440-
<<: *job-windows
441-
442-
# Temporary builder to workaround CI issues
443-
# See <https://github.com/rust-lang/rust/issues/127883>
444-
#FIXME: Remove this, and re-enable the same tests in `checktools.sh`, once CI issues are fixed.
445-
- image: x86_64-msvc-ext2
446-
env:
447-
SCRIPT: >
448-
python x.py test --stage 2 src/tools/miri --target aarch64-apple-darwin --test-args pass &&
449-
python x.py test --stage 2 src/tools/miri --target i686-pc-windows-gnu --test-args pass &&
450-
python x.py miri --stage 2 library/core --test-args notest &&
451-
python x.py miri --stage 2 library/alloc --test-args notest &&
452-
python x.py miri --stage 2 library/std --test-args notest
453-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
454-
<<: *job-windows
455-
456-
# Run `checktools.sh` and upload the toolstate file.
457-
- image: x86_64-msvc-ext3
458-
env:
459-
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
437+
SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
460438
HOST_TARGET: x86_64-pc-windows-msvc
461439
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
462440
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
463-
<<: *job-windows
441+
<<: *job-windows-8c
464442

465443
# 32/64-bit MinGW builds.
466444
#

0 commit comments

Comments
 (0)