-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathazure-pipelines.yml
68 lines (63 loc) · 2.38 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
trigger:
- master
pr:
- master
- release/*
variables:
system.debug: true
jobs:
- job: macOS
pool:
vmImage: "macOS-latest"
steps:
- checkout: self
submodules: recursive
- task: Cache@2
displayName: Cache vcpkg
inputs:
key: $(Build.SourcesDirectory)/vcpkg-ports.txt | $(Build.SourcesDirectory)/.git/modules/vcpkg/HEAD | "$(Agent.OS)"
path: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
inputs:
vcpkgArguments: "@$(Build.SourcesDirectory)/vcpkg-ports.txt --triplet x64-osx"
vcpkgDirectory: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
inputs:
useVcpkgToolchainFile: true
- job: Windows
pool:
vmImage: "windows-latest"
steps:
- checkout: self
submodules: recursive
- task: Cache@2
displayName: Cache vcpkg
inputs:
key: $(Build.SourcesDirectory)/vcpkg-ports.txt | $(Build.SourcesDirectory)/.git/modules/vcpkg/HEAD | "$(Agent.OS)"
path: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
inputs:
vcpkgTriplet: 'x64-windows'
vcpkgArguments: "@$(Build.SourcesDirectory)/vcpkg-ports.txt"
vcpkgDirectory: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
inputs:
useVcpkgToolchainFile: true
- job: Linux
pool:
vmImage: "ubuntu-latest"
steps:
- checkout: self
submodules: recursive
- task: Cache@2
displayName: Cache vcpkg
inputs:
key: $(Build.SourcesDirectory)/vcpkg-ports.txt | $(Build.SourcesDirectory)/.git/modules/vcpkg/HEAD | "$(Agent.OS)"
path: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
inputs:
vcpkgArguments: "@$(Build.SourcesDirectory)/vcpkg-ports.txt --triplet x64-linux"
vcpkgDirectory: "$(Build.SourcesDirectory)/vcpkg"
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
inputs:
useVcpkgToolchainFile: true