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:
parent
d59c837714
commit
817afe8ed7
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user