2019-03-31 22:45:53 -05:00
|
|
|
# 31 march 2019
|
2019-03-31 22:38:39 -05:00
|
|
|
|
2019-04-01 09:58:03 -05:00
|
|
|
jobs:
|
|
|
|
- job: linux64
|
|
|
|
displayName: 'Linux 64-bit'
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-16.04'
|
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
2019-04-02 09:41:17 -05:00
|
|
|
- task: UsePythonVersion@0
|
|
|
|
inputs:
|
|
|
|
versionSpec: '3.6'
|
|
|
|
architecture: 'x64'
|
2019-04-01 09:58:03 -05:00
|
|
|
- script: |
|
2019-04-02 10:03:13 -05:00
|
|
|
sudo apt-get install libgtk-3-dev ninja-build
|
2019-04-02 09:41:17 -05:00
|
|
|
# Ubuntu typically comes with an outdated meson
|
|
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
|
|
pip install meson
|
2019-04-01 09:58:03 -05:00
|
|
|
displayName: 'Setup'
|
|
|
|
- script: |
|
|
|
|
meson setup build-shared --buildtype=release
|
|
|
|
ninja -C build-shared
|
|
|
|
displayName: 'Build shared'
|
|
|
|
- script: |
|
|
|
|
meson setup build-static --buildtype=release --default-library=static
|
|
|
|
ninja -C build-static
|
|
|
|
displayName: "Build static"
|
2019-03-31 22:38:39 -05:00
|
|
|
|
2019-04-01 09:58:03 -05:00
|
|
|
# mac:
|
|
|
|
# imageName: 'macos-10.13'
|
|
|
|
# windowsVS2017:
|
|
|
|
# imageName: 'vs2017-win2016'
|
|
|
|
# windowsVS2015:
|
|
|
|
# imageName: 'vs2015-win2012r2'
|