Skip to content

Commit e670522

Browse files
committed
fix(ci): install the specific cmake version of 16
1 parent cc1ec26 commit e670522

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/pipeline.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,17 @@ jobs:
203203
run: cmake --build build --target clang-tidy-check
204204

205205
check-against-minimum-cmake:
206-
runs-on: ubuntu-20.04
206+
runs-on: ubuntu-latest
207207

208208
steps:
209209
- uses: actions/checkout@v4
210210

211-
- name: Cmake version
212-
run: cmake --version
211+
- name: Cmake install
212+
run: |
213+
wget https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-linux-x86_64.sh
214+
chmod +x cmake-3.16.9-linux-x86_64.sh
215+
sudo ./cmake-3.16.9-linux-x86_64.sh --skip-license --prefix=/usr/local
216+
cmake --version
213217
214218
- name: Make build directory
215219
run: cmake -Bbuild -H$GITHUB_WORKSPACE

0 commit comments

Comments
 (0)