]> granicus.if.org Git - zziplib/blob - azure-pipelines.yml
libzzip: do not use -Warray-bounds with gcc-4.2
[zziplib] / azure-pipelines.yml
1 # C/C++ with GCC
2 # Build your C/C++ project with GCC using make.
3 # Add steps that publish test results, save build artifacts, deploy, and more:
4 # https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
5
6 trigger:
7 - master
8 - develop
9
10 pool:
11   vmImage: 'ubuntu-latest'
12
13 steps:
14 - script: |
15     sudo apt-get update --fix-missing
16   displayName: 'install refresh'
17 - script: |
18     sudo apt-get install --fix-broken --ignore-missing libsdl2-dev
19   displayName: 'install libsdl2-dev'
20 - script: |
21     sudo apt-get install --fix-broken --ignore-missing python3-pip
22   displayName: 'install python3-pip'
23 - script: |
24     pip3 install unittest-xml-reporting
25   displayName: 'install unittest-xml-reporting'
26 - script: |
27     rm -rf build
28     mkdir build
29   displayName: 'build dir'
30 - script: |
31     cd build && cmake -DTESTFLAGS=--xmlresults=TEST-zziplibs.xml -DZZIP_TESTCVE=OFF ..
32   displayName: 'configure'
33 - script: |
34     cd build && make all VERBOSE=1
35   displayName: 'make all'
36 - script: |
37     cd build && make check VERBOSE=1 || true
38   displayName: 'make check VERBOSE=1'
39 - script: |
40     find . -name '*.xml'
41   displayName: 'find xml'
42 - task: PublishTestResults@2