Skip to content

Commit

Permalink
tools: run macOS test workflow with Xcode 16.1
Browse files Browse the repository at this point in the history
We have to remove `macos-13` as it doesn't have Xcode 16 available.

Refs: #56824
PR-URL: #56831
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
  • Loading branch information
targos authored Jan 31, 2025
1 parent 6857dbc commit f05d287
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ concurrency:

env:
PYTHON_VERSION: '3.12'
XCODE_VERSION: '16.1'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -40,9 +41,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
macos-version: [macos-13, macos-14]
runs-on: ${{ matrix.macos-version }}
runs-on: macos-14
env:
CC: sccache gcc
CXX: sccache g++
Expand All @@ -56,6 +55,8 @@ jobs:
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Xcode ${{ env.XCODE_VERSION }}
run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
- name: Set up sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
Expand Down

0 comments on commit f05d287

Please sign in to comment.