From 3282a8cd6466dff9012d19f3d727bd49c0744220 Mon Sep 17 00:00:00 2001 From: Tom Jakubowski Date: Tue, 22 Oct 2024 14:31:31 -0700 Subject: [PATCH] Add macos-14 to test_python matrix macos-14 is aarch64 with Apple silicon. This lets us test the aarch64 wheel in CI may try a follow up to see if the builds are any faster on macos-14. Will probably want to double check we still have a good value for `CMAKE_OSX_DEPLOYMENT_TARGET`/`MACOSX_DEPLOYMENT_TARGET` if upgrading the builders Signed-off-by: Tom Jakubowski --- .github/workflows/build.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aaef31e94e..dd671887f0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -592,6 +592,7 @@ jobs: os: - ubuntu-22.04 - macos-13 + - macos-14 - windows-2022 python-version: - 3.9 @@ -599,11 +600,20 @@ jobs: node-version: [20.x] is-release: - ${{ startsWith(github.ref, 'refs/tags/v') }} - arch: - - x86_64 + include: + - os: ubuntu-22.04 + arch: x86_64 + - os: macos-13 + arch: x86_64 + - os: macos-14 + arch: aarch64 + - os: windows-2022 + arch: x86_64 exclude: - os: macos-13 is-release: false + - os: macos-14 + is-release: false - os: windows-2022 is-release: false steps: @@ -623,7 +633,8 @@ jobs: - uses: actions/download-artifact@v4 with: - name: perspective-python-dist-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python-version }} + # the macos-14 runner tests artifacts built on macos-13 + name: perspective-python-dist-${{ matrix.arch }}-${{ matrix.os == 'macos-14' && 'macos-13' || matrix.os }}-${{ matrix.python-version }} - uses: ./.github/actions/install-wheel