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:
DWesl 2022-05-07 07:46:41 -04:00 committed by GitHub
commit c5356010ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,14 +53,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}- ${{ 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 - name: Build system information
run: | run: |
dash.exe -c "python3 .github/workflows/system-info.py" dash.exe -c "python3 .github/workflows/system-info.py"
@ -81,11 +73,6 @@ jobs:
CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip install -v --global-option="build_ext" . CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip install -v --global-option="build_ext" .
python3 selftest.py 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 - name: Test
run: | run: |
bash.exe xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh bash.exe xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh