Skip to content

Commit 4f7eeca

Browse files
committed
[Infra]: installing the latest version of cmake in hostsetup.sh
Signed-off-by: Seyed Alireza Damghani <sdamghan@unb.ca>
1 parent b47b93e commit 4f7eeca

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/scripts/hostsetup.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ apt install -y \
3030
build-essential \
3131
capnproto \
3232
clang \
33-
cmake \
3433
ctags \
3534
curl \
3635
doxygen \
@@ -73,6 +72,15 @@ apt install -y \
7372
# Don't include libtbb-dev since it may increase memory usage
7473
#libtbb-dev \
7574

75+
# installing the latest version of cmake
76+
apt install -y apt-transport-https ca-certificates gnupg
77+
wget -qO - https://apt.kitware.com/keys/kitware-archive-latest.asc |apt-key add -
78+
79+
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
80+
apt update
81+
apt install -y cmake
82+
83+
7684
export PATH="$PATH:/home/kbuilder/.local/bin"
7785

7886
export CC=gcc-9

0 commit comments

Comments
 (0)