mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 09:11:58 -05:00
18 lines
437 B
YAML
18 lines
437 B
YAML
steps:
|
|
- task: CMake@1
|
|
name: Configure
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '-DCMAKE_CXX_STANDARD=$(GSL_CXX_STANDARD) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) .. '
|
|
|
|
- task: CMake@1
|
|
name: Build
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '--build . '
|
|
|
|
- script: ctest . --output-on-failure --no-compress-output
|
|
name: CTest
|
|
workingDirectory: build
|
|
failOnStderr: true
|