Skip to content

Commit

Permalink
Build MinGW on try
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Sep 11, 2021
1 parent d12b0e7 commit 83c2fea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,18 @@ jobs:
- name: dist-x86_64-linux
os: ubuntu-latest-xl
env: {}
- name: dist-i686-mingw
env:
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
SCRIPT: python x.py dist
CUSTOM_MINGW: 1
os: windows-latest-xl
- name: dist-x86_64-mingw
env:
SCRIPT: python x.py dist
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu"
CUSTOM_MINGW: 1
os: windows-latest-xl
timeout-minutes: 600
runs-on: "${{ matrix.os }}"
steps:
Expand Down
16 changes: 13 additions & 3 deletions src/ci/github-actions/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# step CI will fail.

---

###############################
# YAML Anchors Definition #
###############################
Expand All @@ -30,7 +29,6 @@
# The expand-yaml-anchors tool will automatically remove this block from the
# output YAML file.
x--expand-yaml-anchors--remove:

- &shared-ci-variables
CI_JOB_NAME: ${{ matrix.name }}

Expand Down Expand Up @@ -77,7 +75,7 @@ x--expand-yaml-anchors--remove:
<<: *base-job

- &job-macos-xl
os: macos-latest # We don't have an XL builder for this
os: macos-latest # We don't have an XL builder for this
<<: *base-job

- &job-windows-xl
Expand Down Expand Up @@ -669,6 +667,18 @@ jobs:
matrix:
include:
- *dist-x86_64-linux
- name: dist-i686-mingw
env:
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
SCRIPT: python x.py dist
CUSTOM_MINGW: 1
<<: *job-windows-xl
- name: dist-x86_64-mingw
env:
SCRIPT: python x.py dist
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu
CUSTOM_MINGW: 1
<<: *job-windows-xl

master:
name: master
Expand Down

0 comments on commit 83c2fea

Please sign in to comment.