Skip to content

Commit

Permalink
Add macos-14 arm64 runners (#1739)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Reid <mindmark@gmail.com>
  • Loading branch information
markreidvfx committed Apr 14, 2024
1 parent 9d875e7 commit c0e97b0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
os: [ubuntu-22.04, windows-2022, macos-12, macos-14]
# Unfortunately the CMake test target is OS dependent so we set it as
# a variable here.
include:
Expand All @@ -34,6 +34,8 @@ jobs:
OTIO_TEST_TARGET: RUN_TESTS
- os: macos-12
OTIO_TEST_TARGET: test
- os: macos-14
OTIO_TEST_TARGET: test

env:
OTIO_BUILD_CONFIG: Release
Expand Down Expand Up @@ -92,13 +94,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
os: [ubuntu-22.04, windows-2022, macos-12, macos-14]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
include:
- { os: ubuntu-22.04, shell: bash }
- { os: macos-12, shell: bash }
- { os: macos-14, shell: bash }
- { os: windows-2022, shell: pwsh }
- { os: windows-2022, shell: msys2, python-version: 'mingw64' }
exclude:
- { os: macos-14, python-version: 3.7 }
- { os: macos-14, python-version: 3.8 }
- { os: macos-14, python-version: 3.9 }

defaults:
run:
Expand Down Expand Up @@ -153,7 +160,7 @@ jobs:
if: matrix.python-version == env.GH_COV_PY && matrix.os == env.GH_COV_OS && github.actor != env.GH_DEPENDABOT
uses: codecov/codecov-action@v4
with:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
flags: py-unittests
name: py-opentimelineio-codecov
fail_ci_if_error: true
Expand All @@ -163,8 +170,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
os: [ubuntu-22.04, windows-2022, macos-12, macos-14]
python-build: ['cp37*', 'cp38*', 'cp39*', 'cp310*', 'cp311*', 'cp312*']
exclude:
- { os: macos-14, python-build: 'cp37*' }
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit c0e97b0

Please sign in to comment.