-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
77 lines (70 loc) · 2.73 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
jobs:
- job: Ubuntu_1604
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
displayName: 'Run vcpkg'
inputs:
vcpkgTriplet: 'x64-linux'
vcpkgArguments: 'boost-filesystem'
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
displayName: 'Run CMake and Ninja - CMakeLists.txt'
inputs:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: CMakeLists.txt
useVcpkgToolchainFile: true
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release'
- job: macos_10_14
pool:
vmImage: 'macOS-10.14'
steps:
- task: Bash@3
displayName: 'Install gcc'
inputs:
targetType: 'inline'
script: 'brew install gcc'
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
displayName: 'Run vcpkg'
inputs:
vcpkgTriplet: 'x64-osx'
vcpkgArguments: 'boost-filesystem'
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
displayName: 'Run CMake and Ninja - CMakeLists.txt'
inputs:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: CMakeLists.txt
useVcpkgToolchainFile: true
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release'
- job: Windows_VS2017_Hosted
pool:
name: Hosted VS2017
steps:
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
displayName: 'Run vcpkg'
inputs:
vcpkgTriplet: 'x64-windows'
vcpkgArguments: 'boost-filesystem'
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
displayName: 'Run CMake and Ninja - CMakeLists.txt'
inputs:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: CMakeLists.txt
useVcpkgToolchainFile: true
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release'
- job: Windows_VS2019_Hosted
pool:
name: Hosted Windows 2019 with VS2019
steps:
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
displayName: 'Run vcpkg'
inputs:
vcpkgTriplet: 'x64-windows'
vcpkgArguments: 'boost-filesystem'
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
displayName: 'Run CMake and Ninja - CMakeLists.txt'
inputs:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: CMakeLists.txt
useVcpkgToolchainFile: true
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release'