forked from digital-asset/ghc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
45 lines (38 loc) · 1.02 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
45
trigger:
batch: false
branches:
include:
- da-master
# Enable PR triggers that target the master branch
pr:
autoCancel: true # cancel previous builds on push
branches:
include:
- da-master
jobs:
- job: Job
timeoutInMinutes: 360
strategy:
matrix:
linux:
image: "ubuntu-16.04"
windows:
image: "vs2017-win2016"
mac:
image: "macOS-10.13"
pool:
vmImage: '$(image)'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
architecture: 'x64'
- bash: |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install autoconf automake gmp
condition: eq( variables['Agent.OS'], 'Darwin' )
displayName: Install brew
- script: |
curl -sSL https://get.haskellstack.org/ | sh
stack setup --resolver=lts-12.10
stack runhaskell CI.hs $(Build.SourceBranchName) --package=extra