2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

ci/macos: pin XCode version (#12229)

Avoid breakage on runner image update, like the recent update
to XCode 15.4 on arm64 which breaks our (ancient) glib build.
This commit is contained in:
Benoit Pierre 2024-07-28 16:31:59 +00:00 committed by GitHub
parent d59c837714
commit 817afe8ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ jobs:
env:
# Bump number to reset all caches.
CACHE_EPOCH: '0'
CACHE_EPOCH: '1'
CLICOLOR_FORCE: '1'
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.platform == 'arm64' && '11.0' || '10.15' }}
MAKEFLAGS: 'OUTPUT_DIR=build INSTALL_DIR=install TARGET=macos'
@ -33,7 +33,12 @@ jobs:
# Install dependencies. {{{
- name: XCode version
run: xcode-select -p
run: |
# NOTE: don't forget to bump `CACHE_EPOCH`
# above when changing the XCode version.
sudo xcode-select -s /Applications/Xcode_15.2.app
xcodebuild -version
xcode-select -p
- name: Install dependencies
run: |