Skip to content

Commit 334e58b

Browse files
committed
Auto merge of rust-lang#127373 - ehuss:windows-in-use, r=<try>
[do not merge] Testing Windows CI
2 parents 9dcaa7f + f747e91 commit 334e58b

File tree

3 files changed

+41
-28
lines changed

3 files changed

+41
-28
lines changed

.github/workflows/ci.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,17 @@ jobs:
188188
AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
189189
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
190190

191-
- name: create github artifacts
192-
run: src/ci/scripts/create-doc-artifacts.sh
193-
194-
- name: upload artifacts to github
195-
uses: actions/upload-artifact@v4
196-
with:
197-
# name is set in previous step
198-
name: ${{ env.DOC_ARTIFACT_NAME }}
199-
path: obj/artifacts/doc
200-
if-no-files-found: ignore
201-
retention-days: 5
191+
# - name: create github artifacts
192+
# run: src/ci/scripts/create-doc-artifacts.sh
193+
194+
# - name: upload artifacts to github
195+
# uses: actions/upload-artifact@v4
196+
# with:
197+
# # name is set in previous step
198+
# name: ${{ env.DOC_ARTIFACT_NAME }}
199+
# path: obj/artifacts/doc
200+
# if-no-files-found: ignore
201+
# retention-days: 5
202202

203203
- name: upload artifacts to S3
204204
run: src/ci/scripts/upload-artifacts.sh

src/ci/github-actions/jobs.yml

+27-14
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ envs:
6868
# - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
6969
#
7070
# If you *want* these to happen however, temporarily uncomment it before triggering a try build.
71-
DIST_TRY_BUILD: 1
71+
# DIST_TRY_BUILD: 1
7272

7373
auto:
7474
<<: *production
@@ -80,26 +80,39 @@ envs:
8080
# These jobs automatically inherit envs.pr, to avoid repeating
8181
# it in each job definition.
8282
pr:
83-
- image: mingw-check
84-
<<: *job-linux-4c
85-
- image: mingw-check-tidy
86-
continue_on_error: true
87-
<<: *job-linux-4c
88-
- image: x86_64-gnu-llvm-17
83+
- image: x86_64-msvc-ext1
8984
env:
90-
ENABLE_GCC_CODEGEN: "1"
91-
<<: *job-linux-16c
92-
- image: x86_64-gnu-tools
93-
<<: *job-linux-16c
85+
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
86+
HOST_TARGET: x86_64-pc-windows-msvc
87+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
88+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
89+
<<: *job-windows-8c
90+
- image: x86_64-msvc-ext2
91+
env:
92+
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
93+
HOST_TARGET: x86_64-pc-windows-msvc
94+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
95+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
96+
<<: *job-windows-8c
9497

9598
# Jobs that run when you perform a try build (@bors try)
9699
# These jobs automatically inherit envs.try, to avoid repeating
97100
# it in each job definition.
98101
try:
99-
- image: dist-x86_64-linux
102+
- image: x86_64-msvc-ext1
100103
env:
101-
CODEGEN_BACKENDS: llvm,cranelift
102-
<<: *job-linux-16c
104+
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
105+
HOST_TARGET: x86_64-pc-windows-msvc
106+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
107+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
108+
<<: *job-windows-8c
109+
- image: x86_64-msvc-ext2
110+
env:
111+
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
112+
HOST_TARGET: x86_64-pc-windows-msvc
113+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json
114+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
115+
<<: *job-windows-8c
103116

104117
# Main CI jobs that have to be green to merge a commit into master
105118
# These jobs automatically inherit envs.auto, to avoid repeating

src/ci/run.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ if [ "$CI" != "" ]; then
5252
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set change-id=99999999"
5353
fi
5454

55-
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
56-
isCiBranch automation/bors/try; then
55+
# if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
56+
# isCiBranch automation/bors/try; then
5757
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
5858
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
5959
HAS_METRICS=1
60-
fi
60+
# fi
6161

6262
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-verbose-configure"
6363
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"

0 commit comments

Comments
 (0)