Skip to content

Commit 924cb56

Browse files
authored
Unrolled build for rust-lang#135813
Rollup merge of rust-lang#135813 - marcoieni:free-runner-i686-mingw, r=jdno 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 f77247a + 00683a0 commit 924cb56

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
@@ -456,6 +456,7 @@ auto:
456456
# Windows Builders #
457457
######################
458458

459+
# x86_64-msvc is split into two jobs to run tests in parallel.
459460
- name: x86_64-msvc-1
460461
env:
461462
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-sanitizers --enable-profiler
@@ -527,13 +528,30 @@ auto:
527528
# came from the mingw-w64 SourceForge download site. Unfortunately
528529
# SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
529530

530-
- name: i686-mingw
531+
# i686-mingw is split into three jobs to run tests in parallel.
532+
- name: i686-mingw-1
531533
env:
532534
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
533-
SCRIPT: make ci-mingw
535+
SCRIPT: make ci-mingw-x-1
534536
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
535537
NO_DOWNLOAD_CI_LLVM: 1
536-
<<: *job-windows-25-8c
538+
<<: *job-windows-25
539+
540+
- name: i686-mingw-2
541+
env:
542+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
543+
SCRIPT: make ci-mingw-x-2
544+
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
545+
NO_DOWNLOAD_CI_LLVM: 1
546+
<<: *job-windows-25
547+
548+
- name: i686-mingw-3
549+
env:
550+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
551+
SCRIPT: make ci-mingw-bootstrap
552+
# There is no dist-i686-mingw-alt, so there is no prebuilt LLVM with assertions
553+
NO_DOWNLOAD_CI_LLVM: 1
554+
<<: *job-windows-25
537555

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

0 commit comments

Comments
 (0)