Skip to content

Commit 1584739

Browse files
committed
Install modern cmake in Debian 11
1 parent 2aac1ae commit 1584739

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,21 @@ jobs:
6363
run: |
6464
dpkg --add-architecture i386
6565
apt-get update
66-
apt-get install -y build-essential gcc-multilib g++-multilib cmake ninja-build curl zip unzip tar pkg-config
66+
apt-get install -y build-essential gcc-multilib g++-multilib ninja-build curl zip unzip tar pkg-config wget
6767
6868
- name: Install Linux dependencies (64-bit)
6969
if: matrix.os == 'linux' && matrix.arch == 'x64'
7070
run: |
7171
apt-get update
72-
apt-get install -y build-essential cmake ninja-build curl zip unzip tar pkg-config
72+
apt-get install -y build-essential ninja-build curl zip unzip tar pkg-config wget
73+
74+
- name: Install modern CMake (Linux)
75+
if: matrix.os == 'linux'
76+
run: |
77+
wget -q https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.sh
78+
chmod +x cmake-3.27.9-linux-x86_64.sh
79+
./cmake-3.27.9-linux-x86_64.sh --skip-license --prefix=/usr/local
80+
cmake --version
7381
7482
- name: Setup vcpkg cache (Linux)
7583
if: matrix.os == 'linux'

0 commit comments

Comments
 (0)