libui/azure-pipelines.yml

108 lines
2.9 KiB
YAML
Raw Normal View History

2019-03-31 22:45:53 -05:00
# 31 march 2019
2019-04-01 09:58:03 -05:00
jobs:
- job: linux-amd64-shared
displayName: 'Linux 64-bit shared'
pool:
vmImage: 'ubuntu-16.04'
workspace:
clean: all
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
architecture: 'x64'
- script: |
sudo apt-get install libgtk-3-dev ninja-build
# Ubuntu typically comes with an outdated meson
python -m pip install --upgrade pip setuptools wheel
pip install meson
displayName: 'Setup'
- script: |
meson setup build --buildtype=release --default-library=shared --backend=ninja
displayName: 'Configure'
- script: |
ninja -C build
displayName: 'Build'
- job: linux-amd64-static
displayName: 'Linux 64-bit static'
2019-04-01 09:58:03 -05:00
pool:
vmImage: 'ubuntu-16.04'
workspace:
clean: all
steps:
- 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
# 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 --buildtype=release --default-library=static --backend=ninja
displayName: 'Configure'
2019-04-01 09:58:03 -05:00
- script: |
ninja -C build
displayName: 'Build'
2019-04-02 21:09:43 -05:00
- job: windows-amd64-msvc2017-shared-msbuild
displayName: 'Windows 64-bit MSVC2017 Shared with MSBuild'
2019-04-02 21:09:43 -05:00
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
architecture: 'x64'
- script: |
python -m pip install --upgrade pip setuptools wheel
pip install meson
displayName: 'Setup'
- script: |
2019-04-02 22:18:02 -05:00
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
meson setup build --buildtype=release --default-library=shared --backend=vs2017
displayName: 'Configure'
2019-04-02 21:09:43 -05:00
- task: MSBuild@1
inputs:
solution: 'build/*.sln'
2019-04-02 21:09:43 -05:00
maximumCpuCount: true
displayName: 'Build'
- job: windows-amd64-msvc2017-static-ninja
displayName: 'Windows 64-bit MSVC2017 Static Ninja'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
architecture: 'x64'
2019-04-02 21:09:43 -05:00
- script: |
choco install ninja
python -m pip install --upgrade pip setuptools wheel
pip install meson
displayName: 'Setup'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
meson setup build --buildtype=release --default-library=static --backend=ninja
displayName: 'Configure'
2019-04-03 09:31:44 -05:00
- script: |
ninja -C build
displayName: 'Build'
2019-04-01 09:58:03 -05:00
# mac:
# imageName: 'macos-10.13'
# windowsVS2017:
# imageName: 'vs2017-win2016'
# windowsVS2015:
# imageName: 'vs2015-win2012r2'