File tree 2 files changed +20
-7
lines changed
2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -97,13 +97,18 @@ tidy:
97
97
prepare :
98
98
$(Q )$(BOOTSTRAP ) build --stage 2 --dry-run
99
99
100
+ # Set of tests that represent around half of the time of the test suite.
101
+ # 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
104
+
100
105
# # MSVC native builders
101
106
102
107
# this intentionally doesn't use `$(BOOTSTRAP)` so we can test the shebang on Windows
103
108
ci-msvc-py :
104
- $(Q )$(CFG_SRC_DIR ) /x.py test --stage 2 tidy
109
+ $(Q )$(CFG_SRC_DIR ) /x.py $( STAGE_2_TEST_SET1 )
105
110
ci-msvc-ps1 :
106
- $(Q )$(CFG_SRC_DIR ) /x.ps1 test --stage 2 --skip tidy
111
+ $(Q )$(CFG_SRC_DIR ) /x.ps1 $( STAGE_2_TEST_SET2 )
107
112
ci-msvc : ci-msvc-py ci-msvc-ps1
108
113
109
114
# # MingW native builders
@@ -112,9 +117,9 @@ ci-msvc: ci-msvc-py ci-msvc-ps1
112
117
# Used to split tests across multiple CI runners.
113
118
# Test both x and bootstrap entrypoints.
114
119
ci-mingw-x :
115
- $(Q )$(CFG_SRC_DIR ) /x test --stage 2 --skip=compiler --skip=src
120
+ $(Q )$(CFG_SRC_DIR ) /x $( STAGE_2_TEST_SET1 )
116
121
ci-mingw-bootstrap :
117
- $(Q )$(BOOTSTRAP ) test --stage 2 --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
122
+ $(Q )$(BOOTSTRAP ) $( STAGE_2_TEST_SET2 )
118
123
ci-mingw : ci-mingw-x ci-mingw-bootstrap
119
124
120
125
.PHONY : dist
Original file line number Diff line number Diff line change @@ -448,11 +448,19 @@ auto:
448
448
SCRIPT : make ci-msvc
449
449
<< : *job-windows-8c
450
450
451
- - name : i686-msvc
451
+ # i686-msvc is split into two jobs to run tests in parallel.
452
+ - name : i686-msvc-1
452
453
env :
453
454
RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc
454
- SCRIPT : make ci-msvc
455
- << : *job-windows-8c
455
+ SCRIPT : make ci-msvc-py
456
+ << : *job-windows
457
+
458
+ # i686-msvc is split into two jobs to run tests in parallel.
459
+ - name : i686-msvc-2
460
+ env :
461
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc
462
+ SCRIPT : make ci-msvc-ps1
463
+ << : *job-windows
456
464
457
465
# x86_64-msvc-ext is split into multiple jobs to run tests in parallel.
458
466
- name : x86_64-msvc-ext1
You can’t perform that action at this time.
0 commit comments