GSL/pipelines/steps.yml

22 lines
578 B
YAML
Raw Normal View History

2021-12-07 15:43:12 -05:00
parameters:
buildType: ''
CXXVersion: ''
2020-10-28 19:35:49 -04:00
steps:
- task: CMake@1
name: Configure
inputs:
workingDirectory: build
2021-12-07 15:43:12 -05:00
cmakeArgs: '-DGSL_CXX_STANDARD=${{ parameters.CXXVersion }} -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} -DCI_TESTING:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Werror=dev .. '
2020-10-28 19:35:49 -04:00
- task: CMake@1
name: Build
inputs:
workingDirectory: build
cmakeArgs: '--build . '
- script: ctest . --output-on-failure --no-compress-output
name: CTest
workingDirectory: build
failOnStderr: true