forked from ImageEngine/cortex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
45 lines (38 loc) · 1.35 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
trigger:
branches:
include:
- master
jobs :
# We build on linux using a Docker container generated by GafferHQ/build.
# We have to use a manual matrix as single job + strategy doesn't allow for
# conditional parameters. We have to specify `container` on linux, but not
# for mac. Specifying an empty container breaks validation earlier on in the
# job setup phase, a valid image name breaks on mac as docker isn't available.
- template: config/azure/build.yaml
parameters:
name: CENTOS
displayName: Centos
vmImage: 'Ubuntu-16.04'
container: 'gafferhq/build:1.0.0'
options: config/azure/options.linux
- template: config/azure/build.yaml
parameters:
name: CENTOS
buildType: DEBUG
displayName: 'Centos (debug)'
vmImage: 'Ubuntu-16.04'
container: 'gafferhq/build:1.0.0'
options: config/azure/options.linux
- template: config/azure/build.yaml
parameters:
name: MACOS
displayName: MacOS
vmImage: 'macOS-10.14'
options: config/azure/options.macos
- template: config/azure/build.yaml
parameters:
name: WINDOWS
displayName: Windows
vmImage: 'vs2017-win2016'
options: config/azure/options.windows
envSetupCmd: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64'