CI: Make sure all python requirements are installed in Cygwin CI.

For some reason wheel wasn't installed properly.
This commit is contained in:
DWesl 2021-12-10 19:08:28 -05:00
parent 67bef87a07
commit b798989f33

View File

@ -21,18 +21,24 @@ jobs:
with: with:
platform: x64 platform: x64
packages: > packages: >
python38-devel python38-tkinter libfreetype-devel libfreetype-devel libimagequant-devel libjpeg-devel
libimagequant-devel libjpeg-devel liblcms2-devel liblcms2-devel libopenjp2-devel libraqm-devel
libopenjp2-devel libraqm-devel libtiff-devel libwebp-devel libtiff-devel libwebp-devel libxcb-devel netpbm
libxcb-devel python38-olefile python38-pathlib ImageMagick jpeg xorg-server-extra xorg-server-common
python38-numpy netpbm ImageMagick jpeg xorg-server-extra xinit python38-setuptools python38-devel python38-tkinter
xorg-server-common xinit python38-setuptools python38-wheel python38-pip python38-olefile
python38-wheel python38-numpy python38-pytest python38-sphinx
python38-packaging python38-cffi
install-dir: 'C:\tools\cygwin' install-dir: 'C:\tools\cygwin'
- name: Clean up path - name: Clean up path
uses: egor-tensin/cleanup-path@v2 uses: egor-tensin/cleanup-path@v2
with: with:
dirs: 'C:\tools\cygwin\bin;C:\tools\cygwin\lib\lapack' dirs: 'C:\tools\cygwin\bin;C:\tools\cygwin\lib\lapack'
- name: Ensure python dependencies installed
shell: 'C:\tools\cygwin\bin\dash.exe {0}'
run: |
/usr/bin/python3.8 -m pip install pip wheel setuptools
/usr/bin/python3.8 -m pip install -r requirements.txt
- name: Build Pillow - name: Build Pillow
shell: 'C:\tools\cygwin\bin\dash.exe {0}' shell: 'C:\tools\cygwin\bin\dash.exe {0}'
run: | run: |