Skip to content

Commit 944ae7a

Browse files
committed
Install cmake<4 in github workflow
Some github runners embed now a cmake>=4.0 which is not yet compatible with the cmake files. So we freeze it to the previous version (3.31.6) thanks to a dedicated github action. See the issue and the workaround here: actions/runner-images#11926 (comment)
1 parent dd0b928 commit 944ae7a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

+15
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ jobs:
170170
with:
171171
python-version: ${{ matrix.python-version }}
172172

173+
- name: Setup cmake
174+
uses: jwlawson/actions-setup-cmake@v2
175+
with:
176+
cmake-version: '3.31.6'
177+
173178
- name: Load cached venv
174179
id: cached-pip-wheels
175180
uses: actions/cache@v4
@@ -262,6 +267,11 @@ jobs:
262267
with:
263268
python-version: ${{ matrix.python-version }}
264269

270+
- name: Setup cmake
271+
uses: jwlawson/actions-setup-cmake@v2
272+
with:
273+
cmake-version: '3.31.6'
274+
265275
- name: Load cached venv
266276
id: cached-pip-wheels
267277
uses: actions/cache@v4
@@ -410,6 +420,11 @@ jobs:
410420
with:
411421
python-version: ${{ matrix.python-version }}
412422

423+
- name: Setup cmake
424+
uses: jwlawson/actions-setup-cmake@v2
425+
with:
426+
cmake-version: '3.31.6'
427+
413428
- name: Load cached venv
414429
id: cached-pip-wheels
415430
uses: actions/cache@v4

0 commit comments

Comments
 (0)