Skip to content

Commit d8d38fc

Browse files
committed
ci: Add an ARM Linux test workflow
Like the macOS jobs are mixed between Intel and ARM, this changes one of the Linux jobs to use ARM.
1 parent 3b54c6a commit d8d38fc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
7979
pyside6-ver: '!=6.5.1'
8080
extra-requirements: '-r requirements/testing/extra.txt'
81-
- os: ubuntu-22.04
81+
- os: ubuntu-22.04-arm
8282
python-version: '3.12'
8383
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
8484
pyqt6-ver: '!=6.6.0'
@@ -282,10 +282,13 @@ jobs:
282282
echo 'PyGObject 3 is available' || echo 'PyGObject 3 is not available'
283283
)
284284
285-
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
286-
python -c 'import PyQt5.QtCore' &&
287-
echo 'PyQt5 is available' ||
288-
echo 'PyQt5 is not available'
285+
# PyQt5 does not have any wheels for ARM on Linux.
286+
if [[ "${{ matrix.os }}" != 'ubuntu-22.04-arm' ]]; then
287+
python -mpip install --upgrade --only-binary pyqt5 pyqt5${{ matrix.pyqt5-ver }} &&
288+
python -c 'import PyQt5.QtCore' &&
289+
echo 'PyQt5 is available' ||
290+
echo 'PyQt5 is not available'
291+
fi
289292
# Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
290293
# deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
291294
# on M1 macOS, so don't bother there either.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy