Skip to content

Commit a212225

Browse files
committed
add dependencies to MSYS
1 parent 479d583 commit a212225

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/test-windows.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,24 +412,40 @@ jobs:
412412
steps:
413413
- uses: actions/checkout@v2
414414

415-
- name: Set up MSYS
415+
- name: Set up shell
416416
run: echo ::add-path::C:\msys64\usr\bin\
417417
shell: pwsh
418418

419-
- name: Install MinGW packages
419+
- name: Install Dependencies
420420
run: |
421421
pacman -S --noconfirm \
422422
${{ matrix.package }}-python3-pip \
423423
${{ matrix.package }}-python3-setuptools \
424424
${{ matrix.package }}-python3-pytest \
425425
${{ matrix.package }}-python3-pytest-cov \
426+
${{ matrix.package }}-python3-cffi \
426427
${{ matrix.package }}-python3-olefile \
428+
${{ matrix.package }}-python3-numpy \
429+
${{ matrix.package }}-python3-pyqt5 \
430+
${{ matrix.package }}-python3-numpy \
431+
${{ matrix.package }}-freetype \
432+
${{ matrix.package }}-lcms2 \
433+
${{ matrix.package }}-libwebp \
427434
${{ matrix.package }}-libjpeg-turbo \
428-
${{ matrix.package }}-libimagequant
435+
${{ matrix.package }}-libimagequant \
436+
${{ matrix.package }}-libraqm \
437+
${{ matrix.package }}-ghostscript \
438+
subversion
439+
440+
python3 -m pip install pyroma
441+
442+
pushd depends && ./install_extra_test_images.sh && popd
429443
430444
- name: Build Pillow
431445
run: |
432-
python3 setup.py install
446+
# libtiff is unable to open files
447+
# OpenJPEG fails due to link error (#2848)
448+
python3 setup.py build_ext --disable-tiff --disable-jpeg2000 install
433449
434450
- name: Test Pillow
435451
run: |

0 commit comments

Comments
 (0)