From a09d5c5a1198377c64e913fffdf7a28f2ccd0874 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 23 Apr 2024 00:50:13 +0200 Subject: [PATCH] GitHub Actions test on macOS on ARM (#241) * 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 --- .github/workflows/node-gyp.yml | 5 ++++- .github/workflows/python_tests.yml | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-gyp.yml b/.github/workflows/node-gyp.yml index 2b535b01..3c96a948 100644 --- a/.github/workflows/node-gyp.yml +++ b/.github/workflows/node-gyp.yml @@ -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: diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index e4a5fd02..a93412da 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -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 }}