libui/azure-pipelines.yml

199 lines
6.3 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:
2019-04-04 09:49:31 -05:00
- job: linux_amd64_shared_ninja
displayName: 'Linux amd64 Shared with Ninja'
pool:
vmImage: 'ubuntu-16.04'
workspace:
clean: all
steps:
# Ubuntu typically comes with an outdated meson
- template: azure-pipelines/install-latest-meson.yml
- script: |
sudo apt-get install libgtk-3-dev ninja-build
displayName: 'Install Dependencies'
- script: |
meson setup build --buildtype=release --default-library=shared --backend=ninja
displayName: 'Configure'
- script: |
ninja -C build
displayName: 'Build'
2019-04-04 09:49:31 -05:00
- job: linux_amd64_static_ninja
displayName: 'Linux amd64 Static with Ninja'
2019-04-01 09:58:03 -05:00
pool:
vmImage: 'ubuntu-16.04'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
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
displayName: 'Install Dependencies'
2019-04-01 09:58:03 -05:00
- 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
2019-04-04 20:08:09 -05:00
- job: windows_386_msvc2017_shared_ninja
displayName: 'Windows 386 MSVC2017 Shared Ninja'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
choco install ninja
displayName: 'Install Dependencies'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
meson setup build --buildtype=release --default-library=shared --backend=ninja
displayName: 'Configure'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
ninja -C build
displayName: 'Build'
- job: windows_386_msvc2017_static_ninja
displayName: 'Windows 386 MSVC2017 Static Ninja'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
choco install ninja
displayName: 'Install Dependencies'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
meson setup build --buildtype=release --default-library=static --backend=ninja
displayName: 'Configure'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
ninja -C build
displayName: 'Build'
- job: windows_386_msvc2017_shared_msbuild
displayName: 'Windows 386 MSVC2017 Shared with MSBuild'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
meson setup build --buildtype=release --default-library=shared --backend=vs2017
displayName: 'Configure'
- task: MSBuild@1
inputs:
solution: 'build/*.sln'
maximumCpuCount: true
displayName: 'Build'
- job: windows_386_msvc2017_static_msbuild
displayName: 'Windows 386 MSVC2017 Static with MSBuild'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
meson setup build --buildtype=release --default-library=static --backend=vs2017
displayName: 'Configure'
- task: MSBuild@1
inputs:
solution: 'build/*.sln'
maximumCpuCount: true
displayName: 'Build'
- job: windows_amd64_msvc2017_shared_ninja
displayName: 'Windows amd64 MSVC2017 Shared Ninja'
2019-04-02 21:09:43 -05:00
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
choco install ninja
displayName: 'Install Dependencies'
2019-04-02 21:09:43 -05:00
- 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=ninja
displayName: 'Configure'
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
ninja -C build
displayName: 'Build'
2019-04-04 09:49:31 -05:00
- job: windows_amd64_msvc2017_static_ninja
displayName: 'Windows amd64 MSVC2017 Static Ninja'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
2019-04-02 21:09:43 -05:00
- script: |
choco install ninja
displayName: 'Install Dependencies'
- 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: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
ninja -C build
displayName: 'Build'
- job: windows_amd64_msvc2017_shared_msbuild
displayName: 'Windows amd64 MSVC2017 Shared with MSBuild'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- script: |
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'
- task: MSBuild@1
inputs:
solution: 'build/*.sln'
maximumCpuCount: true
displayName: 'Build'
- job: windows_amd64_msvc2017_static_msbuild
displayName: 'Windows amd64 MSVC2017 Static with MSBuild'
pool:
vmImage: 'vs2017-win2016'
workspace:
clean: all
steps:
- template: azure-pipelines/install-latest-meson.yml
- 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=vs2017
displayName: 'Configure'
- task: MSBuild@1
inputs:
solution: 'build/*.sln'
maximumCpuCount: true
displayName: 'Build'
2019-04-01 09:58:03 -05:00
# mac:
# imageName: 'macos-10.13'
# windowsVS2017:
# imageName: 'vs2017-win2016'
# windowsVS2015:
# imageName: 'vs2015-win2012r2'