Skip to content

Commit e17a838

Browse files
committed
tools: run macOS test workflow with Xcode 16.1
We have to remove `macos-13` as it doesn't have Xcode 16 available. Refs: nodejs#56824
1 parent 304bb9c commit e17a838

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test-macos.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ concurrency:
3030

3131
env:
3232
PYTHON_VERSION: '3.12'
33+
XCODE_VERSION: '16.1'
3334
FLAKY_TESTS: keep_retrying
3435

3536
permissions:
@@ -40,9 +41,7 @@ jobs:
4041
if: github.event.pull_request.draft == false
4142
strategy:
4243
fail-fast: false
43-
matrix:
44-
macos-version: [macos-13, macos-14]
45-
runs-on: ${{ matrix.macos-version }}
44+
runs-on: macos-14
4645
env:
4746
CC: sccache gcc
4847
CXX: sccache g++
@@ -56,6 +55,8 @@ jobs:
5655
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
5756
with:
5857
python-version: ${{ env.PYTHON_VERSION }}
58+
- name: Set up Xcode ${{ env.XCODE_VERSION }}
59+
run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
5960
- name: Set up sccache
6061
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
6162
with:

0 commit comments

Comments
 (0)