daml/azure-pipelines.yml
zimbatm 430a85649c add more Azure Pipeline agents (#230)
* nix: add the more providers to terraform
* docs: make tarballs more reproducible
* ci: use the linux-pool pool
* ci: tweak the nix installation

handle the case where the user is root and on ubuntu

* infra: terraform fmt

* infra: add Azure Pipeline agents

* ci: only enable linux-pool for internal PRs
2019-04-09 18:59:37 +02:00

42 lines
939 B
YAML

# 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