File tree 3 files changed +20
-7
lines changed
3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -108,11 +108,13 @@ ci-msvc: ci-msvc-py ci-msvc-ps1
108
108
109
109
# # MingW native builders
110
110
111
- # test both x and bootstrap entrypoints
111
+ # Set of tests that should represent half of the time of the test suite.
112
+ # Used to split tests across multiple CI runners.
113
+ # Test both x and bootstrap entrypoints.
112
114
ci-mingw-x :
113
- $(Q )$(CFG_SRC_DIR ) /x test --stage 2 tidy
115
+ $(Q )$(CFG_SRC_DIR ) /x test --stage 2 --skip=compiler --skip=src
114
116
ci-mingw-bootstrap :
115
- $(Q )$(BOOTSTRAP ) test --stage 2 --skip tidy
117
+ $(Q )$(BOOTSTRAP ) test --stage 2 --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
116
118
ci-mingw : ci-mingw-x ci-mingw-bootstrap
117
119
118
120
.PHONY : dist
Original file line number Diff line number Diff line change @@ -439,14 +439,24 @@ auto:
439
439
NO_DOWNLOAD_CI_LLVM : 1
440
440
<< : *job-windows-8c
441
441
442
- - image : x86_64-mingw
442
+ # x86_64-mingw is split into two jobs to run tests in parallel.
443
+ - image : x86_64-mingw-1
443
444
env :
444
- SCRIPT : make ci-mingw
445
+ SCRIPT : make ci-mingw-x
445
446
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
446
447
# We are intentionally allowing an old toolchain on this builder (and that's
447
448
# incompatible with LLVM downloads today).
448
449
NO_DOWNLOAD_CI_LLVM : 1
449
- << : *job-windows-8c
450
+ << : *job-windows
451
+
452
+ - image : x86_64-mingw-2
453
+ env :
454
+ SCRIPT : make ci-mingw-bootstrap
455
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
456
+ # We are intentionally allowing an old toolchain on this builder (and that's
457
+ # incompatible with LLVM downloads today).
458
+ NO_DOWNLOAD_CI_LLVM : 1
459
+ << : *job-windows
450
460
451
461
- image : dist-x86_64-msvc
452
462
env :
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ function isLinux {
53
53
}
54
54
55
55
function isKnownToBeMingwBuild {
56
- isGitHubActions && [[ " ${CI_JOB_NAME} " == * mingw ]]
56
+ # CI_JOB_NAME must end with "mingw" and optionally `-N` to be considered a MinGW build.
57
+ isGitHubActions && [[ " ${CI_JOB_NAME} " =~ mingw(-[0-9]+)? $ ]]
57
58
}
58
59
59
60
function isCiBranch {
You can’t perform that action at this time.
0 commit comments