forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
41 lines (36 loc) · 939 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
39
40
41
# Azure Pipelines file, see https://aka.ms/yaml
# Enable builds on all branches
trigger:
# Build every commit as our release process relies on
# the release process being built alone.
batch: false
branches:
include:
- master
# Enable PR triggers that target the master branch
pr:
autoCancel: true # cancel previous builds on push
branches:
include:
- master
jobs:
- job: Linux
timeoutInMinutes: 360
pool:
${{ if eq(variables['System.PullRequest.IsFork'], 'true') }}:
vmImage: 'ubuntu-16.04'
${{ if eq(variables['System.PullRequest.IsFork'], 'false') }}:
name: 'linux-pool'
steps:
- template: ci/build-unix.yml
- job: macOS
timeoutInMinutes: 360
pool:
vmImage: 'macOS-10.13'
steps:
- template: ci/build-unix.yml
# - job: Windows
# pool:
# vmImage: 'windows-2019'
# steps:
# - template: ci/build-windows.yml