Skip to content

Commit 6918256

Browse files
committed
CI: add msys2 mingw test
1 parent 800fae9 commit 6918256

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
@@ -59,6 +59,30 @@ jobs:
5959
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
6060
run: tox
6161

62+
test_msys2_mingw:
63+
strategy:
64+
matrix:
65+
include:
66+
- { sys: mingw64, env: x86_64 }
67+
# - { sys: mingw32, env: i686 }
68+
# - { sys: ucrt64, env: ucrt-x86_64 }
69+
# - { sys: clang64, env: clang-x86_64 }
70+
runs-on: windows-latest
71+
steps:
72+
- uses: actions/checkout@v2
73+
- uses: msys2/setup-msys2@v2
74+
with:
75+
msystem: ${{matrix.sys}}
76+
install: |
77+
mingw-w64-${{matrix.env}}-toolchain
78+
mingw-w64-${{matrix.env}}-python
79+
mingw-w64-${{matrix.env}}-python-pip
80+
mingw-w64-${{matrix.env}}-python-tox
81+
- name: Run tests
82+
shell: msys2 {0}
83+
run: |
84+
tox
85+
6286
ci_setuptools:
6387
# Integration testing with setuptools
6488
strategy:

0 commit comments

Comments
 (0)