kokoro: Update to a newer cmake version.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-12-28 15:11:04 +01:00
parent 2c3ec9a9a4
commit 9591007026
1 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,21 @@
set -e
echo
echo "========================================"
echo "Removing older packages"
echo "----------------------------------------"
sudo apt-get remove -y cmake
echo "----------------------------------------"
echo
echo "========================================"
echo "Host adding PPAs"
echo "----------------------------------------"
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
echo "----------------------------------------"
echo
echo "========================================"
echo "Host updating packages"
@ -16,17 +31,23 @@ echo "----------------------------------------"
sudo apt-get remove -y \
python-pytest \
sudo apt-get autoremove -y
echo "----------------------------------------"
echo
echo "========================================"
echo "Host install packages"
echo "----------------------------------------"
sudo apt-get install -y \
bash \
bison \
build-essential \
ca-certificates \
clang-format \
cmake \
colordiff \
coreutils \
curl \
flex \
fontconfig \