#6622 Changed Cmake to 3.14

This commit is contained in:
Jamie Newbon 2020-03-24 13:21:16 +00:00
parent d2e236f172
commit 07a70ec6f6

View file

@ -47,20 +47,23 @@ jobs:
sudo ln -snf /usr/share/zoneinfo/Europe/London /etc/localtime
sudo bash -c "echo 'Europe/London' > /etc/timezone"
displayName: 'Sort out timezones for updates'
- script: |
sudo DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install git qtbase5-dev build-essential libx11-dev libxtst-dev libgl1-mesa-dev libssl-dev libavahi-compat-libdnssd-dev debhelper devscripts
sudo apt-get -y install qttools5-dev qttools5-dev-tools --no-install-recommends #These will try to install gnome if we allow dependancies
displayName: 'Install Pakages'
- script: |
sudo DEBIAN_FRONTEND=noninteractive
sudo apt-get -y install wget
wget https://github.com/Kitware/CMake/releases/download/v3.14.7/cmake-3.14.7-Linux-x86_64.sh
sudo chmod +x ./cmake-3.14.7-Linux-x86_64.sh
sudo ./cmake-3.14.7-Linux-x86_64.sh --skip-license --prefix=/
displayName: 'Installing CMake 3.14'
- script: |
sudo DEBIAN_FRONTEND=noninteractive
sudo apt-get -y install git qtbase5-dev build-essential libx11-dev libxtst-dev libgl1-mesa-dev libssl-dev libavahi-compat-libdnssd-dev debhelper devscripts
sudo apt-get -y install qttools5-dev qttools5-dev-tools --no-install-recommends #These will try to install gnome if we allow dependancies
displayName: 'Install Pakages'
- script: |
mkdir build
cd build