GHA: use pacboy to install msys2 packages

This commit is contained in:
nulano 2023-02-02 17:28:14 +00:00
parent eba06792ca
commit fa0995071f
No known key found for this signature in database
GPG Key ID: B650CDF63B705766

View File

@ -26,12 +26,8 @@ jobs:
matrix: matrix:
include: include:
- msystem: "UCRT64" - msystem: "UCRT64"
package: "mingw-w64-ucrt-x86_64"
- msystem: "CLANG64" - msystem: "CLANG64"
package: "mingw-w64-clang-i686"
- msystem: "MINGW64" - msystem: "MINGW64"
package: "mingw-w64-x86_64"
defaults: defaults:
run: run:
shell: bash.exe --login -eo pipefail "{0}" shell: bash.exe --login -eo pipefail "{0}"
@ -52,28 +48,24 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
pacman -S --noconfirm \ pacboy -S --noconfirm \
${{ matrix.package }}-freetype \ freetype:p \
${{ matrix.package }}-gcc \ gcc:p \
${{ matrix.package }}-ghostscript \ ghostscript:p \
${{ matrix.package }}-lcms2 \ lcms2:p \
${{ matrix.package }}-libimagequant \ libimagequant:p \
${{ matrix.package }}-libjpeg-turbo \ libjpeg-turbo:p \
${{ matrix.package }}-libraqm \ libraqm:p \
${{ matrix.package }}-libtiff \ libtiff:p \
${{ matrix.package }}-libwebp \ libwebp:p \
${{ matrix.package }}-openjpeg2 \ openjpeg2:p \
${{ matrix.package }}-python3-cffi \ python3-cffi:p \
${{ matrix.package }}-python3-numpy \ python3-numpy:p \
${{ matrix.package }}-python3-olefile \ python3-olefile:p \
${{ matrix.package }}-python3-pip \ python3-pip:p \
${{ matrix.package }}-python3-setuptools \ python3-setuptools:p \
subversion python-pyqt6:p \
subversion:
if [[ ${{ matrix.msystem }} =~ "64" ]]; then
pacman -S --noconfirm \
${{ matrix.package }}-python-pyqt6
fi
python3 -m pip install pyroma pytest pytest-cov pytest-timeout python3 -m pip install pyroma pytest pytest-cov pytest-timeout