mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
22 lines
589 B
YAML
22 lines
589 B
YAML
parameters:
|
|
buildType: ''
|
|
CXXVersion: ''
|
|
|
|
steps:
|
|
- task: CMake@1
|
|
name: Configure
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '-DGSL_CXX_STANDARD=${{ parameters.CXXVersion }} -T ClangCL -DCMAKE_BUILD_TYPE=${{ parameters.buildType }} -DCI_TESTING:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Werror=dev .. '
|
|
|
|
- task: CMake@1
|
|
name: Build
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '--build . '
|
|
|
|
- script: ctest . --output-on-failure --no-compress-output
|
|
name: CTest
|
|
workingDirectory: build
|
|
failOnStderr: true
|