Skip to content

Commit ad28d65

Browse files
committed
Auto merge of #135813 - marcoieni:free-runner-i686-mingw, r=<try>
CI: split i686-mingw job to three free runners try-job: i686-mingw-1 try-job: i686-mingw-2 try-job: i686-mingw-3 try-job: x86_64-mingw-1
2 parents c705b7d + 8d99c58 commit ad28d65

File tree

2 files changed

+33
-9
lines changed

2 files changed

+33
-9
lines changed

src/bootstrap/mk/Makefile.in

+12-6
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,33 @@ prepare:
9999

100100
# Set of tests that represent around half of the time of the test suite.
101101
# Used to split tests across multiple CI runners.
102-
STAGE_2_TEST_SET1 := test --stage 2 --skip=compiler --skip=src
103-
STAGE_2_TEST_SET2 := test --stage 2 --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
102+
SKIP_COMPILER := --skip=compiler
103+
SKIP_SRC := --skip=src
104+
TEST_SET1 := $(SKIP_COMPILER) $(SKIP_SRC)
105+
TEST_SET2 := --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
104106

105107
## MSVC native builders
106108

107109
# this intentionally doesn't use `$(BOOTSTRAP)` so we can test the shebang on Windows
108110
ci-msvc-py:
109-
$(Q)$(CFG_SRC_DIR)/x.py $(STAGE_2_TEST_SET1)
111+
$(Q)$(CFG_SRC_DIR)/x.py test --stage 2 $(TEST_SET1)
110112
ci-msvc-ps1:
111-
$(Q)$(CFG_SRC_DIR)/x.ps1 $(STAGE_2_TEST_SET2)
113+
$(Q)$(CFG_SRC_DIR)/x.ps1 test --stage 2 $(TEST_SET2)
112114
ci-msvc: ci-msvc-py ci-msvc-ps1
113115

114116
## MingW native builders
115117

116118
# Set of tests that should represent half of the time of the test suite.
117119
# Used to split tests across multiple CI runners.
118120
# Test both x and bootstrap entrypoints.
121+
ci-mingw-x-1:
122+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 $(SKIP_COMPILER) $(TEST_SET2)
123+
ci-mingw-x-2:
124+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 $(SKIP_SRC) $(TEST_SET2)
119125
ci-mingw-x:
120-
$(Q)$(CFG_SRC_DIR)/x $(STAGE_2_TEST_SET1)
126+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 $(TEST_SET1)
121127
ci-mingw-bootstrap:
122-
$(Q)$(BOOTSTRAP) $(STAGE_2_TEST_SET2)
128+
$(Q)$(BOOTSTRAP) test --stage 2 $(TEST_SET2)
123129
ci-mingw: ci-mingw-x ci-mingw-bootstrap
124130

125131
.PHONY: dist

src/ci/github-actions/jobs.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ auto:
450450
# Windows Builders #
451451
######################
452452

453+
# x86_64-msvc is split into two jobs to run tests in parallel.
453454
- name: x86_64-msvc-1
454455
env:
455456
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
@@ -521,13 +522,30 @@ auto:
521522
# came from the mingw-w64 SourceForge download site. Unfortunately
522523
# SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
523524

524-
- name: i686-mingw
525+
# i686-mingw is split into three jobs to run tests in parallel.
526+
- name: i686-mingw-1
525527
env:
526528
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
527-
SCRIPT: make ci-mingw
529+
SCRIPT: make ci-mingw-x-1
528530
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
529531
NO_DOWNLOAD_CI_LLVM: 1
530-
<<: *job-windows-25-8c
532+
<<: *job-windows-25
533+
534+
- name: i686-mingw-2
535+
env:
536+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
537+
SCRIPT: make ci-mingw-x-2
538+
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
539+
NO_DOWNLOAD_CI_LLVM: 1
540+
<<: *job-windows-25
541+
542+
- name: i686-mingw-3
543+
env:
544+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
545+
SCRIPT: make ci-mingw-bootstrap
546+
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
547+
NO_DOWNLOAD_CI_LLVM: 1
548+
<<: *job-windows-25
531549

532550
# x86_64-mingw is split into two jobs to run tests in parallel.
533551
- name: x86_64-mingw-1

0 commit comments

Comments
 (0)