File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,10 @@ jobs:
4545 sudo apt-get update
4646 sudo apt install curl pkg-config zip unzip tar cmake git -y
4747
48- - name : Install cmake >= 3.25 (Linux)
49- if : matrix.config.os == 'ubuntu'
50- shell : bash
51- run : |
52- sudo apt-get update
53- sudo apt-get install gpg wget
54- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
55- echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
56- sudo apt-get update
57- sudo apt-get install cmake -y
48+ - name : Install cmake 3.29.0 and ninja
49+ uses : lukka/get-cmake@latest
50+ with :
51+ cmakeVersion : 3.29.0
5852
5953 - name : Setup GCC (Linux)
6054 if : matrix.config.os == 'ubuntu'
7165 git clone https://github.com/Microsoft/vcpkg.git
7266 "${{github.workspace}}/vcpkg/bootstrap-vcpkg.sh"
7367
74- - uses : abdes/gha-setup-ninja@master
75-
7668 - name : Configure CMake (Windows only)
7769 if : matrix.config.os == 'windows'
7870 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
You can’t perform that action at this time.
0 commit comments