Merge pull request #4832 from radarhere/msys2_32

This commit is contained in:
Hugo van Kemenade 2020-08-11 21:44:25 +03:00 committed by GitHub
commit d0dd3444a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,25 +163,15 @@ jobs:
msys: msys:
runs-on: windows-2019 runs-on: windows-2019
strategy:
fail-fast: false
matrix:
mingw: ["MINGW32", "MINGW64"]
include:
- mingw: "MINGW32"
package: "mingw-w64-i686"
- mingw: "MINGW64"
package: "mingw-w64-x86_64"
defaults: defaults:
run: run:
shell: bash.exe --login -eo pipefail "{0}" shell: bash.exe --login -eo pipefail "{0}"
env: env:
MSYSTEM: ${{ matrix.mingw }} MSYSTEM: MINGW64
CHERE_INVOKING: 1 CHERE_INVOKING: 1
timeout-minutes: 30 timeout-minutes: 30
name: MSYS2 ${{ matrix.mingw }} name: MSYS2 MinGW 64-bit
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -193,23 +183,23 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
pacman -S --noconfirm \ pacman -S --noconfirm \
${{ matrix.package }}-python3-pip \ mingw-w64-x86_64-python3-pip \
${{ matrix.package }}-python3-setuptools \ mingw-w64-x86_64-python3-setuptools \
${{ matrix.package }}-python3-pytest \ mingw-w64-x86_64-python3-pytest \
${{ matrix.package }}-python3-pytest-cov \ mingw-w64-x86_64-python3-pytest-cov \
${{ matrix.package }}-python3-cffi \ mingw-w64-x86_64-python3-cffi \
${{ matrix.package }}-python3-olefile \ mingw-w64-x86_64-python3-olefile \
${{ matrix.package }}-python3-numpy \ mingw-w64-x86_64-python3-numpy \
${{ matrix.package }}-python3-pyqt5 \ mingw-w64-x86_64-python3-pyqt5 \
${{ matrix.package }}-python3-numpy \ mingw-w64-x86_64-python3-numpy \
${{ matrix.package }}-freetype \ mingw-w64-x86_64-freetype \
${{ matrix.package }}-lcms2 \ mingw-w64-x86_64-lcms2 \
${{ matrix.package }}-libwebp \ mingw-w64-x86_64-libwebp \
${{ matrix.package }}-libjpeg-turbo \ mingw-w64-x86_64-libjpeg-turbo \
${{ matrix.package }}-openjpeg2 \ mingw-w64-x86_64-openjpeg2 \
${{ matrix.package }}-libimagequant \ mingw-w64-x86_64-libimagequant \
${{ matrix.package }}-libraqm \ mingw-w64-x86_64-libraqm \
${{ matrix.package }}-ghostscript \ mingw-w64-x86_64-ghostscript \
subversion subversion
python3 -m pip install pyroma python3 -m pip install pyroma
@ -231,4 +221,4 @@ jobs:
python3 -m pip install codecov python3 -m pip install codecov
bash <(curl -s https://codecov.io/bash) -F GHA_Windows bash <(curl -s https://codecov.io/bash) -F GHA_Windows
env: env:
CODECOV_NAME: MSYS2 ${{ matrix.mingw }} CODECOV_NAME: MSYS2 MinGW 64-bit