Skip to content

Commit 727ba41

Browse files
Install newer version of CMake for U18.
1 parent d159b26 commit 727ba41

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ jobs:
6969
choco install -y capnproto
7070
fi
7171
72+
- name: Install CMake for U18
73+
run: |
74+
sudo apt purge --auto-remove cmake
75+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
76+
| gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
77+
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
78+
sudo apt update
79+
sudo apt install cmake
80+
if: runner.os == 'Linux'
81+
7282
- name: Pull Git LFS objects
7383
run: git lfs pull
7484
env:
@@ -160,6 +170,16 @@ jobs:
160170
run: |
161171
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev
162172
173+
- name: Install CMake for U18
174+
run: |
175+
sudo apt purge --auto-remove cmake
176+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
177+
| gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
178+
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
179+
sudo apt update
180+
sudo apt install cmake
181+
if: runner.os == 'Linux'
182+
163183
- name: Cache pip
164184
uses: actions/cache@v2
165185
with:
@@ -262,6 +282,16 @@ jobs:
262282
choco install capnproto nsis
263283
fi
264284
285+
- name: Install CMake for U18
286+
run: |
287+
sudo apt purge --auto-remove cmake
288+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
289+
| gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
290+
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
291+
sudo apt update
292+
sudo apt install cmake
293+
if: runner.os == 'Linux'
294+
265295
- name: Install stable Rust
266296
uses: actions-rs/toolchain@v1
267297
with:

0 commit comments

Comments
 (0)