1- name : Test MinGW
1+ name : Test MSYS2
22
33on :
44 push :
@@ -21,16 +21,26 @@ concurrency:
2121jobs :
2222 build :
2323 runs-on : windows-latest
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ include :
28+ - msystem : " UCRT64"
29+ package : " mingw-w64-ucrt-x86_64"
30+ - msystem : " CLANG64"
31+ package : " mingw-w64-clang-i686"
32+ - msystem : " MINGW64"
33+ package : " mingw-w64-x86_64"
2434
2535 defaults :
2636 run :
2737 shell : bash.exe --login -eo pipefail "{0}"
2838 env :
29- MSYSTEM : MINGW64
39+ MSYSTEM : ${{ matrix.msystem }}
3040 CHERE_INVOKING : 1
3141
3242 timeout-minutes : 30
33- name : " MinGW "
43+ name : MSYS2 ${{ matrix.msystem }}
3444
3545 steps :
3646 - name : Checkout Pillow
@@ -43,22 +53,27 @@ jobs:
4353 - name : Install dependencies
4454 run : |
4555 pacman -S --noconfirm \
46- mingw-w64-x86_64-freetype \
47- mingw-w64-x86_64-gcc \
48- mingw-w64-x86_64-ghostscript \
49- mingw-w64-x86_64-lcms2 \
50- mingw-w64-x86_64-libimagequant \
51- mingw-w64-x86_64-libjpeg-turbo \
52- mingw-w64-x86_64-libraqm \
53- mingw-w64-x86_64-libtiff \
54- mingw-w64-x86_64-libwebp \
55- mingw-w64-x86_64-openjpeg2 \
56- mingw-w64-x86_64-python3-cffi \
57- mingw-w64-x86_64-python3-numpy \
58- mingw-w64-x86_64-python3-olefile \
59- mingw-w64-x86_64-python3-pip \
60- mingw-w64-x86_64-python3-setuptools \
61- mingw-w64-x86_64-python-pyqt6
56+ ${{ matrix.package }}-freetype \
57+ ${{ matrix.package }}-gcc \
58+ ${{ matrix.package }}-ghostscript \
59+ ${{ matrix.package }}-lcms2 \
60+ ${{ matrix.package }}-libimagequant \
61+ ${{ matrix.package }}-libjpeg-turbo \
62+ ${{ matrix.package }}-libraqm \
63+ ${{ matrix.package }}-libtiff \
64+ ${{ matrix.package }}-libwebp \
65+ ${{ matrix.package }}-openjpeg2 \
66+ ${{ matrix.package }}-python3-cffi \
67+ ${{ matrix.package }}-python3-numpy \
68+ ${{ matrix.package }}-python3-olefile \
69+ ${{ matrix.package }}-python3-pip \
70+ ${{ matrix.package }}-python3-setuptools \
71+ subversion
72+
73+ if [[ ${{ matrix.package }} =~ "x86_64" ]]; then
74+ pacman -S --noconfirm \
75+ ${{ matrix.package }}-python-pyqt6
76+ fi
6277
6378 python3 -m pip install pyroma pytest pytest-cov pytest-timeout
6479
0 commit comments