Skip to content

Commit bbb2758

Browse files
committed
switch to macos-11 as 12 doesn't have toolchain
1 parent c3acca2 commit bbb2758

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build-macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ on:
4949
jobs:
5050
build-macos:
5151
name: build
52-
runs-on: macos-12
52+
runs-on: macos-11
5353

5454
strategy:
5555
fail-fast: false

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
uses: ./.github/workflows/build-macos.yml
205205
with:
206206
platform: macos-x64
207-
xcode-toolset-version: '13.3.1'
207+
xcode-toolset-version: '11.7'
208208
if: needs.select.outputs.macos-x64 == 'true'
209209

210210
build-macos-aarch64:
@@ -213,7 +213,7 @@ jobs:
213213
uses: ./.github/workflows/build-macos.yml
214214
with:
215215
platform: macos-aarch64
216-
xcode-toolset-version: '13.3.1'
216+
xcode-toolset-version: '12.4'
217217
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
218218
if: needs.select.outputs.macos-aarch64 == 'true'
219219

@@ -271,7 +271,7 @@ jobs:
271271
with:
272272
platform: macos-x64
273273
bootjdk-platform: macos-x64
274-
runs-on: macos-12
274+
runs-on: macos-11
275275

276276
test-windows-x64:
277277
name: windows-x64

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
run: |
128128
# On macOS we need to install some dependencies for testing
129129
brew install make
130-
sudo xcode-select --switch /Applications/Xcode_11.3.1.app/Contents/Developer
130+
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
131131
# This will make GNU make available as 'make' and not only as 'gmake'
132132
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
133133
if: runner.os == 'macOS'

0 commit comments

Comments
 (0)