File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ jobs:
118
118
119
119
env :
120
120
MINT_PATH : ${{ github.workspace }}/mint
121
+ USE_LATEST_CMAKE : false
121
122
122
123
runs-on : ${{ matrix.os }}
123
124
steps :
@@ -173,6 +174,7 @@ jobs:
173
174
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
174
175
MINT_PATH : ${{ github.workspace }}/mint
175
176
TARGET_DATABASE_ID : ${{ matrix.databaseId }}
177
+ USE_LATEST_CMAKE : false
176
178
177
179
runs-on : ${{ matrix.os }}
178
180
steps :
@@ -265,6 +267,7 @@ jobs:
265
267
266
268
env :
267
269
SANITIZERS : ${{ matrix.sanitizer }}
270
+ USE_LATEST_CMAKE : false
268
271
269
272
steps :
270
273
- uses : actions/checkout@v4
@@ -316,6 +319,7 @@ jobs:
316
319
env :
317
320
SANITIZERS : ${{ matrix.sanitizer }}
318
321
ASAN_OPTIONS : detect_leaks=0
322
+ USE_LATEST_CMAKE : false
319
323
320
324
steps :
321
325
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -104,6 +104,13 @@ case "$project-$platform-$method" in
104
104
;;
105
105
106
106
Firestore-iOS-cmake | Firestore-tvOS-cmake | Firestore-macOS-cmake)
107
+ # Only upgrade CMake if explicitly requested
108
+ if [[ " ${USE_LATEST_CMAKE:- false} " == " true" ]]; then
109
+ echo " Use latest CMake because USE_LATEST_CMAKE=true"
110
+ brew outdated cmake || brew upgrade cmake
111
+ else
112
+ echo " Skipping CMake upgrade"
113
+ fi
107
114
brew outdated go || brew upgrade go # Somehow the build for Abseil requires this.
108
115
brew install ccache
109
116
brew install ninja
You can’t perform that action at this time.
0 commit comments