Skip to content

Commit abd8560

Browse files
committed
Manually set cmake version
1 parent 1c16807 commit abd8560

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/firestore.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ jobs:
142142
with:
143143
python-version: '3.11'
144144

145+
- name: Setup cmake
146+
uses: jwlawson/actions-setup-cmake@v2
147+
with:
148+
cmake-version: '3.16.x'
149+
145150
- name: Setup build
146151
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
147152

@@ -230,6 +235,11 @@ jobs:
230235
GOOGLE_APPLICATION_CREDENTIALS: ../google-service-account.json
231236
continue-on-error: true
232237

238+
- name: Setup cmake
239+
uses: jwlawson/actions-setup-cmake@v2
240+
with:
241+
cmake-version: '3.16.x'
242+
233243
- name: Setup build
234244
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
235245

@@ -271,6 +281,11 @@ jobs:
271281
with:
272282
python-version: '3.11'
273283

284+
- name: Setup cmake
285+
uses: jwlawson/actions-setup-cmake@v2
286+
with:
287+
cmake-version: '3.16.x'
288+
274289
- name: Setup build
275290
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
276291

@@ -317,6 +332,11 @@ jobs:
317332
with:
318333
python-version: '3.11'
319334

335+
- name: Setup cmake
336+
uses: jwlawson/actions-setup-cmake@v2
337+
with:
338+
cmake-version: '3.16.x'
339+
320340
- name: Setup build
321341
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
322342

scripts/install_prereqs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ case "$project-$platform-$method" in
104104
;;
105105

106106
Firestore-iOS-cmake | Firestore-tvOS-cmake | Firestore-macOS-cmake)
107-
brew outdated cmake || brew upgrade cmake
108107
brew outdated go || brew upgrade go # Somehow the build for Abseil requires this.
109108
brew install ccache
110109
brew install ninja

0 commit comments

Comments
 (0)