mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Install Qt on GHA
This commit is contained in:
parent
b01567fb0b
commit
8ec8d23af4
|
@ -39,13 +39,13 @@ if [ "$GHA_PYTHON_VERSION" == "3.8" ]; then python3 -m pip install -U "setuptool
|
||||||
if [ "$GHA_PYTHON_VERSION" == "3.9" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi
|
if [ "$GHA_PYTHON_VERSION" == "3.9" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi
|
||||||
if [ "$TRAVIS_PYTHON_VERSION" == "pypy3.6-7.3.1" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi
|
if [ "$TRAVIS_PYTHON_VERSION" == "pypy3.6-7.3.1" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi
|
||||||
|
|
||||||
if [[ $TRAVIS_PYTHON_VERSION == 3.* ]]; then
|
# PyQt5 doesn't support PyPy3
|
||||||
|
# Wheel doesn't yet support 3.10
|
||||||
|
if [[ $GHA_PYTHON_VERSION == 3.* && $GHA_PYTHON_VERSION != "3.10-dev" ]]; then
|
||||||
# arm64, ppc64le, s390x CPUs:
|
# arm64, ppc64le, s390x CPUs:
|
||||||
# "ERROR: Could not find a version that satisfies the requirement pyqt5"
|
# "ERROR: Could not find a version that satisfies the requirement pyqt5"
|
||||||
if [[ $TRAVIS_CPU_ARCH == "amd64" ]]; then
|
|
||||||
sudo apt-get -qq install libxcb-xinerama0 pyqt5-dev-tools
|
sudo apt-get -qq install libxcb-xinerama0 pyqt5-dev-tools
|
||||||
python3 -m pip install pyqt5
|
python3 -m pip install pyqt5
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# docs only on Python 3.9
|
# docs only on Python 3.9
|
||||||
|
|
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -78,8 +78,9 @@ jobs:
|
||||||
.ci/build.sh
|
.ci/build.sh
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
uses: GabrielBB/xvfb-action@v1
|
||||||
.ci/test.sh
|
with:
|
||||||
|
run: .ci/test.sh
|
||||||
env:
|
env:
|
||||||
PYTHONOPTIMIZE: ${{ matrix.PYTHONOPTIMIZE }}
|
PYTHONOPTIMIZE: ${{ matrix.PYTHONOPTIMIZE }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user