Skip to content

Commit ea1f457

Browse files
Xinyu LiXinyu Li
authored andcommitted
downgrade cmake 4.0.0 to 3.x
1 parent 83c472c commit ea1f457

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222

2323
- name: Get latest CMake
2424
uses: lukka/get-cmake@latest
25+
with:
26+
cmakeVersion: "~3" # use cmake version < 4.0
27+
ninjaVersion: "^1.11.0"
2528

2629
- name: Setup dependencies
2730
shell: bash

.github/workflows/macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222

2323
- name: Get latest CMake
2424
uses: lukka/get-cmake@latest
25+
with:
26+
cmakeVersion: "~3" # use cmake version < 4.0
27+
ninjaVersion: "^1.11.0"
2528

2629
- name: Setup dependencies
2730
shell: bash

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414

1515
- name: Get latest CMake
1616
uses: lukka/get-cmake@latest
17+
with:
18+
cmakeVersion: "~3" # use cmake version < 4.0
19+
ninjaVersion: "^1.11.0"
1720

1821
- name: Install dependencies
1922
run: |
@@ -55,6 +58,9 @@ jobs:
5558

5659
- name: Get latest CMake
5760
uses: lukka/get-cmake@latest
61+
with:
62+
cmakeVersion: "~3" # use cmake version < 4.0
63+
ninjaVersion: "^1.11.0"
5864

5965
- name: Setup msbuild
6066
uses: microsoft/setup-msbuild@v1
@@ -96,6 +102,9 @@ jobs:
96102

97103
- name: Get latest CMake
98104
uses: lukka/get-cmake@latest
105+
with:
106+
cmakeVersion: "~3" # use cmake version < 4.0
107+
ninjaVersion: "^1.11.0"
99108

100109
- name: Setup dependencies
101110
shell: bash

.github/workflows/windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222

2323
- name: Get latest CMake
2424
uses: lukka/get-cmake@latest
25+
with:
26+
cmakeVersion: "~3.31.0"
27+
ninjaVersion: "^1.11.0"
2528

2629
- name: Setup msbuild
2730
uses: microsoft/setup-msbuild@v1

0 commit comments

Comments
 (0)