libki/azure-pipelines.yml

25 lines
575 B
YAML
Raw Permalink Normal View History

2018-10-19 23:32:35 +00:00
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
pool:
vmImage: 'Ubuntu 16.04'
steps:
- script: |
rm -rf build/
mkdir build
cd build
cmake ..
make
2018-10-20 00:13:43 +00:00
displayName: 'Compile'
- script: |
2018-10-20 00:17:21 +00:00
cd build
2018-10-20 00:13:43 +00:00
make test CTEST_OUTPUT_ON_FAILURE=TRUE
displayName: 'Test'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: 'build/Testing/reports/test-*.xml'