Skip to content

Commit f3a4cf1

Browse files
committed
Merge mingw-1/2 CI jobs
1 parent 0b475c7 commit f3a4cf1

File tree

3 files changed

+14
-52
lines changed

3 files changed

+14
-52
lines changed

.github/workflows/ci.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -414,30 +414,16 @@ jobs:
414414
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
415415
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
416416
os: windows-2019-8core-32gb
417-
- name: i686-mingw-1
417+
- name: i686-mingw
418418
env:
419419
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
420-
SCRIPT: make ci-mingw-subset-1
420+
SCRIPT: make ci-mingw
421421
NO_DOWNLOAD_CI_LLVM: 1
422422
CUSTOM_MINGW: 1
423423
os: windows-2019-8core-32gb
424-
- name: i686-mingw-2
424+
- name: x86_64-mingw
425425
env:
426-
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
427-
SCRIPT: make ci-mingw-subset-2
428-
NO_DOWNLOAD_CI_LLVM: 1
429-
CUSTOM_MINGW: 1
430-
os: windows-2019-8core-32gb
431-
- name: x86_64-mingw-1
432-
env:
433-
SCRIPT: make ci-mingw-subset-1
434-
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
435-
NO_DOWNLOAD_CI_LLVM: 1
436-
CUSTOM_MINGW: 1
437-
os: windows-2019-8core-32gb
438-
- name: x86_64-mingw-2
439-
env:
440-
SCRIPT: make ci-mingw-subset-2
426+
SCRIPT: make ci-mingw
441427
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
442428
NO_DOWNLOAD_CI_LLVM: 1
443429
CUSTOM_MINGW: 1

src/bootstrap/mk/Makefile.in

+6-8
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,11 @@ ci-subset-2:
7171

7272
## MingW native builders
7373

74-
TESTS_IN_MINGW_2 := \
75-
tests/ui
76-
77-
ci-mingw-subset-1:
78-
$(Q)$(CFG_SRC_DIR)/x test --stage 2 $(TESTS_IN_MINGW_2:%=--exclude %)
79-
ci-mingw-subset-2:
80-
$(Q)$(BOOTSTRAP) test --stage 2 $(TESTS_IN_MINGW_2)
81-
74+
# test both x and bootstrap entrypoints
75+
ci-mingw-x:
76+
$(Q)$(CFG_SRC_DIR)/x test --stage 2 tidy
77+
ci-mingw-bootstrap:
78+
$(Q)$(BOOTSTRAP) test --stage 2 --exclude tidy
79+
ci-mingw: ci-mingw-x ci-mingw-bootstrap
8280

8381
.PHONY: dist

src/ci/github-actions/ci.yml

+4-26
Original file line numberDiff line numberDiff line change
@@ -635,41 +635,19 @@ jobs:
635635
# came from the mingw-w64 SourceForge download site. Unfortunately
636636
# SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
637637

638-
- name: i686-mingw-1
638+
- name: i686-mingw
639639
env:
640640
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
641-
SCRIPT: make ci-mingw-subset-1
641+
SCRIPT: make ci-mingw
642642
# We are intentionally allowing an old toolchain on this builder (and that's
643643
# incompatible with LLVM downloads today).
644644
NO_DOWNLOAD_CI_LLVM: 1
645645
CUSTOM_MINGW: 1
646646
<<: *job-windows-8c
647647

648-
- name: i686-mingw-2
648+
- name: x86_64-mingw
649649
env:
650-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
651-
SCRIPT: make ci-mingw-subset-2
652-
# We are intentionally allowing an old toolchain on this builder (and that's
653-
# incompatible with LLVM downloads today).
654-
NO_DOWNLOAD_CI_LLVM: 1
655-
CUSTOM_MINGW: 1
656-
<<: *job-windows-8c
657-
658-
- name: x86_64-mingw-1
659-
env:
660-
SCRIPT: make ci-mingw-subset-1
661-
RUST_CONFIGURE_ARGS: >-
662-
--build=x86_64-pc-windows-gnu
663-
--enable-profiler
664-
# We are intentionally allowing an old toolchain on this builder (and that's
665-
# incompatible with LLVM downloads today).
666-
NO_DOWNLOAD_CI_LLVM: 1
667-
CUSTOM_MINGW: 1
668-
<<: *job-windows-8c
669-
670-
- name: x86_64-mingw-2
671-
env:
672-
SCRIPT: make ci-mingw-subset-2
650+
SCRIPT: make ci-mingw
673651
RUST_CONFIGURE_ARGS: >-
674652
--build=x86_64-pc-windows-gnu
675653
--enable-profiler

0 commit comments

Comments
 (0)