mirror of
https://github.com/microsoft/GSL.git
synced 2025-01-18 17:55:01 -05:00
Enable C++20 tests in CI
This commit is contained in:
parent
f2feab563f
commit
4cbd4165a8
@ -11,16 +11,24 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
14_debug:
|
14_debug:
|
||||||
GSL_CXX_STANDARD: '14'
|
GSL_CXX_STANDARD: '14'
|
||||||
|
CMAKE_CXX_STANDARD: '14'
|
||||||
BUILD_TYPE: 'Debug'
|
BUILD_TYPE: 'Debug'
|
||||||
14_release:
|
14_release:
|
||||||
GSL_CXX_STANDARD: '14'
|
GSL_CXX_STANDARD: '14'
|
||||||
|
CMAKE_CXX_STANDARD: '14'
|
||||||
BUILD_TYPE: 'Release'
|
BUILD_TYPE: 'Release'
|
||||||
17_debug:
|
17_debug:
|
||||||
GSL_CXX_STANDARD: '17'
|
GSL_CXX_STANDARD: '17'
|
||||||
|
CMAKE_CXX_STANDARD: '17'
|
||||||
BUILD_TYPE: 'Debug'
|
BUILD_TYPE: 'Debug'
|
||||||
17_release:
|
17_release:
|
||||||
GSL_CXX_STANDARD: '17'
|
GSL_CXX_STANDARD: '17'
|
||||||
|
CMAKE_CXX_STANDARD: '17'
|
||||||
BUILD_TYPE: 'Release'
|
BUILD_TYPE: 'Release'
|
||||||
|
20_debug:
|
||||||
|
GSL_CXX_STANDARD: '17'
|
||||||
|
CMAKE_CXX_STANDARD: '20'
|
||||||
|
BUILD_TYPE: 'Debug'
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
steps:
|
steps:
|
||||||
- template: ./steps.yml
|
- template: ./steps.yml
|
||||||
|
@ -3,7 +3,7 @@ steps:
|
|||||||
name: Configure
|
name: Configure
|
||||||
inputs:
|
inputs:
|
||||||
workingDirectory: build
|
workingDirectory: build
|
||||||
cmakeArgs: '-DCMAKE_CXX_STANDARD=$(GSL_CXX_STANDARD) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -Werror=dev .. '
|
cmakeArgs: '-DCMAKE_CXX_STANDARD=$(CMAKE_CXX_STANDARD) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -Werror=dev .. '
|
||||||
|
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
name: Build
|
name: Build
|
||||||
|
Loading…
Reference in New Issue
Block a user