Skip to content

Commit

Permalink
ci: use macos-12 and ubuntu-22.04 instead of -latest
Browse files Browse the repository at this point in the history
Use `macos-12 runner`, to run on x64_64 Monterey instead of arm64
Sonoma, which macos-latest now points to. This fixes issues with
packages that are not yet providing arm64 wheels (e.g., `adbutils`)
or packages that do not provide arm64 wheels for older python
versions (e.g., `lxml` for python 3.8). In addition, it enforces
consistency between this CI pipeline and the one used by the
main repository.

Similarly, for the sake of consistency with the main repository,
use `ubuntu-22.04` runner instead of `ubuntu-latest` one.
  • Loading branch information
rokm committed May 20, 2024
1 parent 9c27c64 commit 1d72a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
pyinstaller: ["https://github.com/pyinstaller/pyinstaller/archive/develop.zip"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
os: ["macos-12", "ubuntu-22.04", "windows-latest"]
fail-fast: false

env:
Expand Down

0 comments on commit 1d72a78

Please sign in to comment.