mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
bcf008ae55
* Fix C++20 bugs and tests * Rework CI for C++2020 tests * Update readme compiler versions
22 lines
578 B
YAML
22 lines
578 B
YAML
parameters:
|
|
buildType: ''
|
|
CXXVersion: ''
|
|
|
|
steps:
|
|
- task: CMake@1
|
|
name: Configure
|
|
inputs:
|
|
workingDirectory: build
|
|
cmakeArgs: '-DGSL_CXX_STANDARD=${{ parameters.CXXVersion }} -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
|