Skip to content

Commit

Permalink
ci: update GitHub Actions workflow to exclude Python 3.7 on macOS latest
Browse files Browse the repository at this point in the history
This change is made to address the issue where Python < v3.8 does not support Apple Silicon ARM64. As a result, the legacy versions of Python 3.7 will only be run on Intel CPUs.
  • Loading branch information
chanshing committed Jul 4, 2024
1 parent ca66bc7 commit e255fb3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
# https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315
exclude: # Python < v3.8 does not support Apple Silicon ARM64.
- python-version: "3.7"
os: macos-latest
include: # So run those legacy versions on Intel CPUs.
- python-version: "3.7"
os: macos-13

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit e255fb3

Please sign in to comment.