Skip to content

Commit 8dee6fe

Browse files
authored
Downgrade CMake to 3.31.x on our runners. (#1706)
* Try out get-cmake action. * Fix indent. * Install cmake 3.31 for other jobs.
1 parent 0ea67d2 commit 8dee6fe

File tree

6 files changed

+39
-0
lines changed

6 files changed

+39
-0
lines changed

Diff for: .github/workflows/android.yml

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
architecture: ${{ fromJson(needs.prepare_matrix.outputs.matrix_architecture) }}
5252
python_version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_python_version) }}
5353
steps:
54+
- uses: lukka/get-cmake@latest
55+
with:
56+
cmakeVersion: "~3.31.0"
5457
- name: setup Xcode version (macos)
5558
if: runner.os == 'macOS'
5659
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer

Diff for: .github/workflows/checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
# This check succeeds if Doxygen documentation generates without errors.
5454
runs-on: ubuntu-22.04
5555
steps:
56+
- uses: lukka/get-cmake@latest
57+
with:
58+
cmakeVersion: "~3.31.0"
5659
- uses: actions/checkout@v3
5760
with:
5861
submodules: false

Diff for: .github/workflows/cpp-packaging.yml

+12
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ jobs:
9090
# Binutils 2.35.1 released Sep 19, 2020
9191
binutils_version: "2.35.1"
9292
steps:
93+
- uses: lukka/get-cmake@latest
94+
with:
95+
cmakeVersion: "~3.31.0"
9396
- name: setup Xcode version (macos)
9497
if: runner.os == 'macOS'
9598
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
@@ -188,6 +191,9 @@ jobs:
188191
runs-on: macos-13
189192
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
190193
steps:
194+
- uses: lukka/get-cmake@latest
195+
with:
196+
cmakeVersion: "~3.31.0"
191197
- name: Store git credentials for all git commands
192198
# Forces all git commands to use authenticated https, to prevent throttling.
193199
shell: bash
@@ -248,6 +254,9 @@ jobs:
248254
strategy:
249255
fail-fast: false
250256
steps:
257+
- uses: lukka/get-cmake@latest
258+
with:
259+
cmakeVersion: "~3.31.0"
251260
- name: Force Java 11
252261
shell: bash
253262
run: echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
@@ -352,6 +361,9 @@ jobs:
352361
architecture: "arm64"
353362

354363
steps:
364+
- uses: lukka/get-cmake@latest
365+
with:
366+
cmakeVersion: "~3.31.0"
355367
- name: Store git credentials for all git commands
356368
# Forces all git commands to use authenticated https, to prevent throttling.
357369
shell: bash

Diff for: .github/workflows/desktop.yml

+6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ jobs:
9595
- xcode_version: "11.7"
9696
architecture: "arm64"
9797
steps:
98+
- uses: lukka/get-cmake@latest
99+
with:
100+
cmakeVersion: "~3.31.0"
98101
- name: Store git credentials for all git commands
99102
# Forces all git commands to use authenticated https, to prevent throttling.
100103
shell: bash
@@ -296,6 +299,9 @@ jobs:
296299
strategy:
297300
fail-fast: false
298301
steps:
302+
- uses: lukka/get-cmake@latest
303+
with:
304+
cmakeVersion: "~3.31.0"
299305
- uses: actions/checkout@v3
300306
with:
301307
ref: ${{needs.check_and_prepare.outputs.github_ref}}

Diff for: .github/workflows/integration_tests.yml

+12
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ jobs:
286286
ssl_variant: openssl
287287
arch: arm64
288288
steps:
289+
- uses: lukka/get-cmake@latest
290+
with:
291+
cmakeVersion: "~3.31.0"
289292
- uses: actions/checkout@v3
290293
with:
291294
ref: ${{needs.check_and_prepare.outputs.github_ref}}
@@ -424,6 +427,9 @@ jobs:
424427
matrix:
425428
os: ${{ fromJson(needs.check_and_prepare.outputs.matrix_os) }}
426429
steps:
430+
- uses: lukka/get-cmake@latest
431+
with:
432+
cmakeVersion: "~3.31.0"
427433
- uses: actions/checkout@v3
428434
with:
429435
ref: ${{needs.check_and_prepare.outputs.github_ref}}
@@ -535,6 +541,9 @@ jobs:
535541
matrix:
536542
os: [macos-13]
537543
steps:
544+
- uses: lukka/get-cmake@latest
545+
with:
546+
cmakeVersion: "~3.31.0"
538547
- uses: actions/checkout@v3
539548
with:
540549
ref: ${{needs.check_and_prepare.outputs.github_ref}}
@@ -640,6 +649,9 @@ jobs:
640649
matrix:
641650
os: [macos-13]
642651
steps:
652+
- uses: lukka/get-cmake@latest
653+
with:
654+
cmakeVersion: "~3.31.0"
643655
- uses: actions/checkout@v3
644656
with:
645657
ref: ${{needs.check_and_prepare.outputs.github_ref}}

Diff for: .github/workflows/ios.yml

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
os: [ 'macos-13' ]
4545
xcode_version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_xcode_version) }}
4646
steps:
47+
- uses: lukka/get-cmake@latest
48+
with:
49+
cmakeVersion: "~3.31.0"
4750
- name: Store git credentials for all git commands
4851
# Forces all git commands to use authenticated https, to prevent throttling.
4952
shell: bash

0 commit comments

Comments
 (0)