Skip to content

Commit 82a609d

Browse files
committed
8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Backport-of: 4c5bc5f2f091ae861d5329cdae42fe7fa295544b
1 parent 6d7a6e1 commit 82a609d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237
with:
238238
platform: macos-aarch64
239239
runs-on: 'macos-14'
240-
xcode-toolset-version: '14.3.1'
240+
xcode-toolset-version: '15.4'
241241
configure-arguments: ${{ github.event.inputs.configure-arguments }}
242242
make-arguments: ${{ github.event.inputs.make-arguments }}
243243
if: needs.select.outputs.macos-aarch64 == 'true'
@@ -291,6 +291,7 @@ jobs:
291291
platform: macos-x64
292292
bootjdk-platform: macos-x64
293293
runs-on: macos-13
294+
xcode-toolset-version: '14.3.1'
294295

295296
test-macos-aarch64:
296297
name: macos-aarch64
@@ -301,6 +302,7 @@ jobs:
301302
platform: macos-aarch64
302303
bootjdk-platform: macos-aarch64
303304
runs-on: macos-14
305+
xcode-toolset-version: '15.4'
304306

305307
test-windows-x64:
306308
name: windows-x64

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ on:
3737
runs-on:
3838
required: true
3939
type: string
40+
xcode-toolset-version:
41+
required: false
42+
type: string
4043

4144
env:
4245
# These are needed to make the MSYS2 bash work properly
@@ -147,7 +150,7 @@ jobs:
147150
run: |
148151
# On macOS we need to install some dependencies for testing
149152
brew install make
150-
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
153+
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
151154
# This will make GNU make available as 'make' and not only as 'gmake'
152155
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
153156
if: runner.os == 'macOS'

0 commit comments

Comments
 (0)