yacreader/azure-pipelines.yml
2019-08-24 11:11:49 +02:00

50 lines
1.2 KiB
YAML

# aka.ms/yaml
# TODO: reuse steps
trigger:
- master
- develop
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
sudo add-apt-repository 'deb http://download.opensuse.org/repositories/home:/selmf/xUbuntu_16.04/ /'
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install -y --allow-unauthenticated qt-default qt5-qmake \
qtbase5-dev qtmultimedia5-dev libpoppler-qt5-dev qtscript5-dev \
libqt5opengl5-dev libglu1-mesa-dev libunarr-dev qtdeclarative5-dev
displayName: 'Install dependencies'
- script: |
qmake CONFIG+="7zip"
make
displayName: 'Build'
- job: MacOS
pool:
vmImage: 'macOS-10.14'
steps:
- script: |
brew install qt
brew link qt --force
displayName: 'Install dependencies'
- script: |
qmake CONFIG+="7zip"
make
displayName: 'Build'
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- script: |
pip install aqtinstall
mkdir C:\Qt
aqt install -O c:\Qt 5.12.4 windows desktop win64_msvc2017_64
displayName: 'Install dependencies'
- script: |
qmake CONFIG+="7zip"
make
displayName: 'Build'