Skip to content

Commit 2325bb9

Browse files
committed
split in 3
1 parent 7fc7e3f commit 2325bb9

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

src/bootstrap/mk/Makefile.in

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,31 @@ 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+
TEST_SET1 := --skip=compiler --skip=src
103+
TEST_SET2 := --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
104104

105105
## MSVC native builders
106106

107107
# this intentionally doesn't use `$(BOOTSTRAP)` so we can test the shebang on Windows
108108
ci-msvc-py:
109-
$(Q)$(CFG_SRC_DIR)/x.py $(STAGE_2_TEST_SET1)
109+
$(Q)$(CFG_SRC_DIR)/x.py test --stage 2 $(TEST_SET1)
110110
ci-msvc-ps1:
111-
$(Q)$(CFG_SRC_DIR)/x.ps1 $(STAGE_2_TEST_SET2)
111+
$(Q)$(CFG_SRC_DIR)/x.ps1 test --stage 2 $(TEST_SET2)
112112
ci-msvc: ci-msvc-py ci-msvc-ps1
113113

114114
## MingW native builders
115115

116116
# Set of tests that should represent half of the time of the test suite.
117117
# Used to split tests across multiple CI runners.
118118
# Test both x and bootstrap entrypoints.
119+
ci-mingw-x-1:
120+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 --skip=compiler $(TEST_SET2)
121+
ci-mingw-x-2:
122+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 --skip=src $(TEST_SET2)
119123
ci-mingw-x:
120-
$(Q)$(CFG_SRC_DIR)/x $(STAGE_2_TEST_SET1)
124+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 $(TEST_SET1)
121125
ci-mingw-bootstrap:
122-
$(Q)$(BOOTSTRAP) $(STAGE_2_TEST_SET2)
126+
$(Q)$(BOOTSTRAP) test --stage 2 $(TEST_SET2)
123127
ci-mingw: ci-mingw-x ci-mingw-bootstrap
124128

125129
.PHONY: dist

src/ci/github-actions/jobs.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,22 @@ auto:
522522
- name: i686-mingw-1
523523
env:
524524
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
525-
SCRIPT: make ci-mingw-x
525+
SCRIPT: make ci-mingw-x-1
526526
# We are intentionally allowing an old toolchain on this builder (and that's
527527
# incompatible with LLVM downloads today).
528528
NO_DOWNLOAD_CI_LLVM: 1
529529
<<: *job-windows-25
530530

531531
- name: i686-mingw-2
532+
env:
533+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
534+
SCRIPT: make ci-mingw-x-2
535+
# We are intentionally allowing an old toolchain on this builder (and that's
536+
# incompatible with LLVM downloads today).
537+
NO_DOWNLOAD_CI_LLVM: 1
538+
<<: *job-windows-25
539+
540+
- name: i686-mingw-3
532541
env:
533542
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
534543
SCRIPT: make ci-mingw-bootstrap

0 commit comments

Comments
 (0)