From 872d386a87799a9f5ae1a802759b98ac943d2161 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Wed, 4 Feb 2026 10:23:22 -0800 Subject: [PATCH] Upgrade CI to XCode 26.2 The new build environment (Sequoia) does not have CMake pre-installed, so install it, and set the variables necessary for parallel builds. PiperOrigin-RevId: 865468933 Change-Id: I0316281d0065bc52b653258556a6928faacb7c0e --- ci/macos-presubmit.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/macos-presubmit.sh b/ci/macos-presubmit.sh index 5fac6ae9..408f8f86 100644 --- a/ci/macos-presubmit.sh +++ b/ci/macos-presubmit.sh @@ -31,8 +31,13 @@ set -euox pipefail -# Use Xcode 16.0 -sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer +# Use Xcode 26.2 +sudo xcode-select -s /Applications/Xcode_26.2.app/Contents/Developer + +brew install cmake + +export CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.ncpu) +export CTEST_PARALLEL_LEVEL=$(sysctl -n hw.ncpu) if [[ -z ${GTEST_ROOT:-} ]]; then GTEST_ROOT="$(realpath $(dirname ${0})/..)"