mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-29 02:51:59 -05:00
18 lines
451 B
YAML
18 lines
451 B
YAML
steps:
|
|
- task: CMake@1
|
|
name: Configure
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '-DCMAKE_CXX_STANDARD=$(CMAKE_CXX_STANDARD) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -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
|