Skip to content

Commit

Permalink
Upgrade to latest available XCode in CI
Browse files Browse the repository at this point in the history
XCode 15.3 is only available on the macos-14 runners.
  • Loading branch information
randombit committed Apr 12, 2024
1 parent 3801b0a commit 0415838
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scripts/ci/setup_gh_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ else
brew install emscripten
fi

sudo xcrun xcode-select --switch '/Applications/Xcode_15.0.app/Contents/Developer'
if [ -d '/Applications/Xcode_15.3.app/Contents/Developer' ]; then
sudo xcrun xcode-select --switch '/Applications/Xcode_15.3.app/Contents/Developer'
else
sudo xcrun xcode-select --switch '/Applications/Xcode_15.2.app/Contents/Developer'
fi
fi

# find the ccache cache location and store it in the build job's environment
Expand Down

0 comments on commit 0415838

Please sign in to comment.