ghcide/azure-pipelines.yml
Javier Neira 8ba58ccdf1
Add azure job for windows and restructure azure config files (#475)
* Add azure job for windows and ghc-8.6

* Trigger build in branches starting with azure

* Add other valid stack.yaml to windows using matrix

* Using azure task Cache@2 instead CacheBeta@0

* Ignore tests in windows for now

* Install happy standalone to avoid spurious build error

* Add comment about installing happy

* Use matrix names more consistent with existing ones

* Enable build using ghc-8.8.2 for windows

* Ignore .vscode dir

* Use templates and matrix in linux job
2020-03-19 12:16:46 +01:00

19 lines
337 B
YAML

# Build master commits
trigger:
batch: false
branches:
include:
- master
- azure*
# Enable PR triggers that target the master branch
pr:
autoCancel: true # cancel previous builds on push
branches:
include:
- master
jobs:
- template: ./.azure/linux-stack.yml
- template: ./.azure/windows-stack.yml