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
11 vmImage: 'ubuntu-latest'
15 sudo apt-get update --fix-missing
16 displayName: 'install refresh'
18 sudo apt-get install --fix-broken --ignore-missing libsdl2-dev
19 displayName: 'install libsdl2-dev'
21 sudo apt-get install --fix-broken --ignore-missing python3-pip
22 displayName: 'install python3-pip'
24 pip3 install unittest-xml-reporting
25 displayName: 'install unittest-xml-reporting'
29 displayName: 'build dir'
31 cd build && cmake -DTESTFLAGS=--xmlresults=TEST-zziplibs.xml -DZZIP_TESTCVE=OFF ..
32 displayName: 'configure'
34 cd build && make all VERBOSE=1
35 displayName: 'make all'
37 cd build && make check VERBOSE=1 || true
38 displayName: 'make check VERBOSE=1'
41 displayName: 'find xml'
42 - task: PublishTestResults@2