azure-pipelines.yml: fail on msvc error
[aubio.git] / azure-pipelines.yml
1 #  configuration file for azure continuous integration
2 jobs:
3 - job: linux
4   pool:
5     vmImage: 'Ubuntu 16.04'
6
7   steps:
8   - script: |
9       make
10     displayName: 'make'
11 - job: windows
12   pool:
13     vmIMage: 'VS2017-Win2016'
14
15   steps:
16   - script: |
17       make
18     displayName: 'make'
19     env:
20       # fail on error
21       CFLAGS: /WX
22
23 - job: macos
24   pool:
25     vmIMage: macOS-10.13
26
27   steps:
28   - script: |
29       brew update
30       brew install pkg-config gnupg
31       brew install sox ffmpeg libsndfile lcov
32     displayName: 'brew install'
33   - script: |
34       make
35     displayName: 'make'