add dependencies to MSYS

This commit is contained in:
nulano 2020-05-23 20:06:09 +02:00
parent 479d583a4a
commit a212225b37

View File

@ -412,24 +412,40 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up MSYS - name: Set up shell
run: echo ::add-path::C:\msys64\usr\bin\ run: echo ::add-path::C:\msys64\usr\bin\
shell: pwsh shell: pwsh
- name: Install MinGW packages - name: Install Dependencies
run: | run: |
pacman -S --noconfirm \ pacman -S --noconfirm \
${{ matrix.package }}-python3-pip \ ${{ matrix.package }}-python3-pip \
${{ matrix.package }}-python3-setuptools \ ${{ matrix.package }}-python3-setuptools \
${{ matrix.package }}-python3-pytest \ ${{ matrix.package }}-python3-pytest \
${{ matrix.package }}-python3-pytest-cov \ ${{ matrix.package }}-python3-pytest-cov \
${{ matrix.package }}-python3-cffi \
${{ matrix.package }}-python3-olefile \ ${{ matrix.package }}-python3-olefile \
${{ matrix.package }}-python3-numpy \
${{ matrix.package }}-python3-pyqt5 \
${{ matrix.package }}-python3-numpy \
${{ matrix.package }}-freetype \
${{ matrix.package }}-lcms2 \
${{ matrix.package }}-libwebp \
${{ matrix.package }}-libjpeg-turbo \ ${{ matrix.package }}-libjpeg-turbo \
${{ matrix.package }}-libimagequant ${{ matrix.package }}-libimagequant \
${{ matrix.package }}-libraqm \
${{ matrix.package }}-ghostscript \
subversion
python3 -m pip install pyroma
pushd depends && ./install_extra_test_images.sh && popd
- name: Build Pillow - name: Build Pillow
run: | run: |
python3 setup.py install # libtiff is unable to open files
# OpenJPEG fails due to link error (#2848)
python3 setup.py build_ext --disable-tiff --disable-jpeg2000 install
- name: Test Pillow - name: Test Pillow
run: | run: |