Skip to content

Commit 8e355c8

Browse files
shipilevRealCLanger
authored andcommitted
8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Reviewed-by: ihse
1 parent 71c38a5 commit 8e355c8

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
@@ -247,7 +247,7 @@ jobs:
247247
with:
248248
platform: macos-aarch64
249249
runs-on: 'macos-14'
250-
xcode-toolset-version: '14.3.1'
250+
xcode-toolset-version: '15.4'
251251
configure-arguments: ${{ github.event.inputs.configure-arguments }}
252252
make-arguments: ${{ github.event.inputs.make-arguments }}
253253
if: needs.select.outputs.macos-aarch64 == 'true'
@@ -317,6 +317,7 @@ jobs:
317317
platform: macos-x64
318318
bootjdk-platform: macos-x64
319319
runs-on: macos-13
320+
xcode-toolset-version: '14.3.1'
320321

321322
test-macos-aarch64:
322323
name: macos-aarch64
@@ -327,6 +328,7 @@ jobs:
327328
platform: macos-aarch64
328329
bootjdk-platform: macos-aarch64
329330
runs-on: macos-14
331+
xcode-toolset-version: '15.4'
330332

331333
test-windows-x64:
332334
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)