mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
430a85649c
* 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
42 lines
939 B
YAML
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
|