-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
40 lines (38 loc) · 1.06 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
trigger:
- master
parameters:
- name: useCache
displayName: 'cache vcpkg artifacts?'
type: boolean
default: true
- name: builds
type: object
default:
- name: linux
imageName: 'ubuntu-22.04'
options:
cmakeArgs: '' # need to have some kind of options or our template breaks
- name: mac
imageName: macos-12
options:
cmakeArgs: '' # need to have some kind of options or our template breaks
- name: windows
imageName: 'windows-2022'
options:
cmakeArgs: '-G "Visual Studio 17 2022" -A x64'
- name: coverage
imageName: 'ubuntu-22.04'
options:
collectCoverage: true
uploadCoverage: true
buildType: Debug
cmakeArgs: '-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DHUSTLE_CODE_COVERAGE=ON'
- name: defaults
type: object
default:
buildType: Release
jobs:
- template: ci/build_jobs.yml
parameters:
builds: ${{ parameters.builds }}
defaultOptions: ${{ parameters.defaults }}