mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Merge pull request #8 from radarhere/add-cygwin-to-ci
Removed steps that are currently unnecessary. Hopefully they stay that way.
This commit is contained in:
commit
c5356010ff
15
.github/workflows/test-cygwin.yml
vendored
15
.github/workflows/test-cygwin.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
uses: egor-tensin/cleanup-path@v1
|
||||
with:
|
||||
dirs: 'C:\cygwin\bin;C:\cygwin\lib\lapack'
|
||||
|
||||
|
||||
- name: pip cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -52,14 +52,6 @@ jobs:
|
|||
key: ${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-${{ hashFiles('.ci/install.sh') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-
|
||||
|
||||
- name: Ensure correct Python minor version is used in scripts
|
||||
shell: bash.exe -eo pipefail -o igncr "{0}"
|
||||
run: |
|
||||
/usr/sbin/alternatives --set python3 /usr/bin/python3.${{ matrix.python-minor-version }}
|
||||
/usr/sbin/alternatives --display python3
|
||||
/usr/sbin/alternatives --set python /usr/bin/python3.${{ matrix.python-minor-version }}
|
||||
/usr/sbin/alternatives --display python
|
||||
|
||||
- name: Build system information
|
||||
run: |
|
||||
|
@ -81,11 +73,6 @@ jobs:
|
|||
CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip install -v --global-option="build_ext" .
|
||||
python3 selftest.py
|
||||
|
||||
- name: Rebase dlls
|
||||
shell: bash.exe -eo pipefail -o igncr "{0}"
|
||||
run: |
|
||||
/usr/bin/rebase --database $(find /usr{,/local}/lib/python3.${{ matrix.python-minor-version }}/site-packages src/PIL ${HOME}/.local/lib/ /usr/lib/lapack /usr/bin -name \*.dll -o -name \*.exe)
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
bash.exe xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user