#6622 Split deb jobs
This commit is contained in:
parent
07a70ec6f6
commit
0a539c2453
1 changed files with 43 additions and 14 deletions
|
|
@ -26,19 +26,15 @@ jobs:
|
||||||
make
|
make
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|
||||||
- job: LinuxDeb
|
- job: LinuxDeb1
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ubuntu16:
|
|
||||||
image: symless/ubuntu-sudo:16.04
|
|
||||||
ubuntu18:
|
ubuntu18:
|
||||||
image: symless/ubuntu-sudo:18.04
|
image: symless/ubuntu-sudo:18.04
|
||||||
ubuntu19:
|
ubuntu19:
|
||||||
image: symless/ubuntu-sudo:19.04
|
image: symless/ubuntu-sudo:19.04
|
||||||
debian9:
|
|
||||||
image: symless/debian-sudo:stretch
|
|
||||||
|
|
||||||
container: $[ variables['image'] ]
|
container: $[ variables['image'] ]
|
||||||
|
|
||||||
|
|
@ -52,18 +48,10 @@ jobs:
|
||||||
sudo DEBIAN_FRONTEND=noninteractive
|
sudo DEBIAN_FRONTEND=noninteractive
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
sudo apt-get -y upgrade
|
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 git cmake 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
|
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'
|
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: |
|
- script: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
@ -71,6 +59,47 @@ jobs:
|
||||||
make
|
make
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|
||||||
|
- job: LinuxDeb2
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ubuntu16:
|
||||||
|
image: symless/ubuntu-sudo:16.04
|
||||||
|
debian9:
|
||||||
|
image: symless/debian-sudo:stretch
|
||||||
|
|
||||||
|
container: $[ variables['image'] ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
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: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
displayName: 'Build'
|
||||||
|
|
||||||
- job: MacOS
|
- job: MacOS
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue