Skip to content

Commit 83c2fea

Browse files
committed
Build MinGW on try
1 parent d12b0e7 commit 83c2fea

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,18 @@ jobs:
537537
- name: dist-x86_64-linux
538538
os: ubuntu-latest-xl
539539
env: {}
540+
- name: dist-i686-mingw
541+
env:
542+
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
543+
SCRIPT: python x.py dist
544+
CUSTOM_MINGW: 1
545+
os: windows-latest-xl
546+
- name: dist-x86_64-mingw
547+
env:
548+
SCRIPT: python x.py dist
549+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu"
550+
CUSTOM_MINGW: 1
551+
os: windows-latest-xl
540552
timeout-minutes: 600
541553
runs-on: "${{ matrix.os }}"
542554
steps:

src/ci/github-actions/ci.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# step CI will fail.
1515

1616
---
17-
1817
###############################
1918
# YAML Anchors Definition #
2019
###############################
@@ -30,7 +29,6 @@
3029
# The expand-yaml-anchors tool will automatically remove this block from the
3130
# output YAML file.
3231
x--expand-yaml-anchors--remove:
33-
3432
- &shared-ci-variables
3533
CI_JOB_NAME: ${{ matrix.name }}
3634

@@ -77,7 +75,7 @@ x--expand-yaml-anchors--remove:
7775
<<: *base-job
7876

7977
- &job-macos-xl
80-
os: macos-latest # We don't have an XL builder for this
78+
os: macos-latest # We don't have an XL builder for this
8179
<<: *base-job
8280

8381
- &job-windows-xl
@@ -669,6 +667,18 @@ jobs:
669667
matrix:
670668
include:
671669
- *dist-x86_64-linux
670+
- name: dist-i686-mingw
671+
env:
672+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
673+
SCRIPT: python x.py dist
674+
CUSTOM_MINGW: 1
675+
<<: *job-windows-xl
676+
- name: dist-x86_64-mingw
677+
env:
678+
SCRIPT: python x.py dist
679+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu
680+
CUSTOM_MINGW: 1
681+
<<: *job-windows-xl
672682

673683
master:
674684
name: master

0 commit comments

Comments
 (0)