mirror of
https://github.com/google/googletest.git
synced 2026-02-14 00:47:54 +00:00
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
This commit is contained in:
committed by
Copybara-Service
parent
2151d93c2f
commit
872d386a87
@@ -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})/..)"
|
||||
|
||||
Reference in New Issue
Block a user