Skip to content

Commit 77277a5

Browse files
committed
CI: add msys2 mingw test
1 parent fe5eb84 commit 77277a5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yml

+24
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,30 @@ jobs:
120120
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
121121
run: tox
122122

123+
test_msys2_mingw:
124+
strategy:
125+
matrix:
126+
include:
127+
- { sys: mingw64, env: x86_64 }
128+
# - { sys: mingw32, env: i686 }
129+
# - { sys: ucrt64, env: ucrt-x86_64 }
130+
# - { sys: clang64, env: clang-x86_64 }
131+
runs-on: windows-latest
132+
steps:
133+
- uses: actions/checkout@v2
134+
- uses: msys2/setup-msys2@v2
135+
with:
136+
msystem: ${{matrix.sys}}
137+
install: |
138+
mingw-w64-${{matrix.env}}-toolchain
139+
mingw-w64-${{matrix.env}}-python
140+
mingw-w64-${{matrix.env}}-python-pip
141+
mingw-w64-${{matrix.env}}-python-tox
142+
- name: Run tests
143+
shell: msys2 {0}
144+
run: |
145+
tox
146+
123147
ci_setuptools:
124148
# Integration testing with setuptools
125149
if: ${{ false }} # disabled for deprecation warnings

0 commit comments

Comments
 (0)