forked from GafferHQ/gaffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
39 lines (33 loc) · 971 Bytes
/
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
trigger:
branches:
include:
- '*'
tags:
include:
- '*'
pr:
- '*'
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
buildType: RELEASE
vmImage: 'Ubuntu-16.04'
container: 'gafferhq/build:1.1.0'
publish: true
- template: config/azure/build.yaml
parameters:
name: Centos
buildType: DEBUG
vmImage: 'Ubuntu-16.04'
container: 'gafferhq/build:1.1.0'
- template: config/azure/build.yaml
parameters:
name: MacOS
vmImage: 'macOS-10.14'
publish: true