[priv] use {} for no-op macro when debug is not enabled
[aubio.git] / azure-pipelines.yml
1 #  configuration file for azure continuous integration
2 jobs:
3
4 - job: linux
5   pool:
6     vmImage: 'ubuntu-16.04'
7   steps:
8   - script: |
9       make
10     displayName: 'make'
11     env:
12       CFLAGS: -Werror
13
14 - job: windows
15   pool:
16     vmImage: 'vs2017-win2016'
17   steps:
18   - script: |
19       make
20     displayName: 'make'
21     env:
22       # fail on error
23       CFLAGS: /WX
24
25 - job: macos
26   pool:
27     vmImage: 'macos-10.13'
28   steps:
29   - script: |
30       brew update
31       brew install pkg-config gnupg
32       brew install sox ffmpeg libsndfile lcov
33     displayName: 'brew install'
34   - script: |
35       make
36     displayName: 'make'
37     env:
38       CFLAGS: -Werror