devops: use xcode 13.3 on MacOS 12 by default (#13696)

- xcode 13.3 is required for chromium
- xcode 13.3 requires MacOS 12, so we can't use it on MacOS 11
This commit is contained in:
Andrey Lushnikov 2022-04-22 00:59:15 -06:00 committed by GitHub
parent 6fee738d4a
commit f8515d11c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -55,8 +55,8 @@ compile_chromium() {
source "${SCRIPT_FOLDER}/ensure_depot_tools.sh"
if [[ $(uname) == "Darwin" ]]; then
# As of Feb, 2022 Chromium mac compilation requires Xcode13.2
selectXcodeVersionOrDie "13.2"
# As of Apr, 2022 Chromium mac compilation requires Xcode13.3
selectXcodeVersionOrDie "13.3"
fi
cd "${CR_CHECKOUT_PATH}/src"

View File

@ -58,7 +58,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
elif [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
selectXcodeVersionOrDie "12.5"
elif [[ "${CURRENT_HOST_OS_VERSION}" == "12."* ]]; then
selectXcodeVersionOrDie "13.2"
selectXcodeVersionOrDie "13.3"
else
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"
exit 1