Merge pull request #1191 from mithro/kokoro-cmake

kokoro: Update to a newer cmake version.
This commit is contained in:
Tim Ansell 2019-12-29 06:07:27 +01:00 committed by GitHub
commit 55ef667093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 \