Skip to content

Commit 05bf450

Browse files
committed
fix: disable 2nd brew doctor and download cmake.rb
1 parent 34d5cf4 commit 05bf450

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ci/kokoro/macos/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ brew update-reset
5454
echo "DEBUG: Brew version after fixes"
5555
brew --version || echo "brew version failed"
5656
echo "DEBUG: Brew doctor after fixes"
57-
brew doctor || echo "brew doctor failed"
57+
#brew doctor || echo "brew doctor failed"
5858

5959
echo "DEBUG: Homebrew environment fixes complete"
6060
# ===== END HOMEBREW FIXES =====

ci/kokoro/macos/builds/cmake-vcpkg.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ io::log_h2 "DEBUG: Brew doctor before update"
6161

6262
# Install v3.28.1 CMake
6363
io::log_h2 "DEBUG: Before brew install for cmake"
64-
brew install --build-from-source https://raw.githubusercontent.com/Homebrew/homebrew-core/4c210b9063c89a89abd9a6db5bae1b5f4e8fdb7d/Formula/c/cmake.rb
64+
(
65+
cd "${HOME}"
66+
curl -fsSL -o cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/fd21fcf239bcd0231c9fed5719403ec128151af4/Formula/cmake.rb
67+
brew install cmake.rb
68+
)
6569
io::log_h2 "DEBUG: After brew install for cmake"
6670

6771
io::log_h2 "Using CMake version"

0 commit comments

Comments
 (0)