jsonbuilder/azure-pipelines.yml

32 строки
742 B
YAML

jobs:
- job: Linux
pool:
vmImage: 'Ubuntu 18.04'
steps:
- bash: |
sudo apt update
sudo apt install uuid-dev -y
displayName: 'Install dependency packages'
- task: CMake@1
displayName: 'CMake Configure+Generate'
inputs:
cmakeArgs: '..'
- task: CMake@1
displayName: 'CMake Build'
inputs:
cmakeArgs: '--build . -- -j2'
- bash: |
cd build/test
mkdir testResults
./jsonbuilderTest -o testResults/TEST-JsonBuilderTest.xml -r junit
displayName: 'Run test binary'
continueOnError: true
- task: PublishTestResults@2
displayName: 'Publish test results'
inputs:
testResultsFiles: '**/TEST-*.xml'