Skip to content

Commit

Permalink
GitHub Actions test on macOS on ARM (#241)
Browse files Browse the repository at this point in the history
* GitHub Actions test on macOS on ARM

GitHub Actions blog:
> Over the next 12 weeks, jobs using the `macos-latest` runner label will migrate from macOS 12 (Monterey) to macOS 14 (Sonoma).

https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image

* nodejs/node-gyp#3011

* exclude: os: macos-14, python-version: [3.8, 3.9]

* Also the node-gyp integration tests
  • Loading branch information
cclauss authored Apr 22, 2024
1 parent daf8fa0 commit a09d5c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, macos-14, ubuntu-latest, windows-latest]
python: ["3.8", "3.10", "3.12"]
exclude:
- os: macos-14
python: "3.8"

runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
os: [macos-latest, ubuntu-latest] # , windows-latest]
os: [macos-latest, macos-14, ubuntu-latest] # , windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-14
python-version: "3.8"
- os: macos-14
python-version: "3.9"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit a09d5c5

Please sign in to comment.