Skip to content

Commit f6c2cf5

Browse files
ci: fix build issue by downgrading CMake on Windows runners
1 parent bc691d8 commit f6c2cf5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build-win.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030

3131
- name: Setup host
3232
run: |
33+
# HOTFIX: github hosted runners have upgraded to CMake 4.0.0 which
34+
# breaks building yaml-cpp
35+
choco uninstall cmake
36+
choco install cmake --version 3.31.6
37+
3338
choco install -y ninja
3439
choco install -y doxygen.install
3540
pip install breathe==4.34.0
@@ -60,6 +65,11 @@ jobs:
6065

6166
- name: Setup host
6267
run: |
68+
# HOTFIX: github hosted runners have upgraded to CMake 4.0.0 which
69+
# breaks building yaml-cpp
70+
choco uninstall cmake
71+
choco install cmake --version 3.31.6
72+
6373
choco install -y ninja
6474
choco install -y doxygen.install
6575
pip install breathe==4.34.0

0 commit comments

Comments
 (0)