Skip to content

Commit 1c873ca

Browse files
committed
DO NOT MERGE: run windows builder in PR
1 parent 4b6c14f commit 1c873ca

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ jobs:
6262
- name: x86_64-gnu-tools
6363
os: ubuntu-20.04-16core-64gb
6464
env: {}
65+
- name: x86_64-msvc-ext
66+
env:
67+
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
68+
HOST_TARGET: x86_64-pc-windows-msvc
69+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json"
70+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
71+
os: windows-2019-8core-32gb
6572
timeout-minutes: 600
6673
runs-on: "${{ matrix.os }}"
6774
steps:
@@ -376,7 +383,7 @@ jobs:
376383
os: windows-2019-8core-32gb
377384
- name: x86_64-msvc-ext
378385
env:
379-
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
386+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
380387
HOST_TARGET: x86_64-pc-windows-msvc
381388
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json"
382389
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ cat /tmp/toolstate/toolstates.json
2323

2424
# Test remaining tools that must pass.
2525
python3 "$X_PY" test --stage 2 check-tools
26-
python3 "$X_PY" test --stage 2 src/tools/clippy
27-
python3 "$X_PY" test --stage 2 src/tools/rustfmt
26+
#python3 "$X_PY" test --stage 2 src/tools/clippy
27+
#python3 "$X_PY" test --stage 2 src/tools/rustfmt
2828
python3 "$X_PY" test --stage 2 src/tools/miri
2929
# We natively run this script on x86_64-unknown-linux-gnu and x86_64-pc-windows-msvc.
3030
# Also cover some other targets via cross-testing, in particular all tier 1 targets.

src/ci/github-actions/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,14 @@ jobs:
336336
- name: x86_64-gnu-tools
337337
<<: *job-linux-16c
338338

339+
- name: x86_64-msvc-ext
340+
env:
341+
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
342+
HOST_TARGET: x86_64-pc-windows-msvc
343+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
344+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
345+
<<: *job-windows-8c
346+
339347
auto:
340348
<<: *base-ci-job
341349
name: auto - ${{ matrix.name }}
@@ -573,7 +581,7 @@ jobs:
573581

574582
- name: x86_64-msvc-ext
575583
env:
576-
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
584+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
577585
HOST_TARGET: x86_64-pc-windows-msvc
578586
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
579587
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json

0 commit comments

Comments
 (0)