🆕 [CI] Test with C++14 in Windows 2019 (#2020)
Problem: - Both Windows builds test C++14 Solution: - Use C++11 for `windows-2016` builds and C++14 for `windows-2019` builds. Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
This commit is contained in:
parent
55dfdd9299
commit
5533641319
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -13,6 +13,10 @@ jobs:
|
||||
platform: [Win32, x64]
|
||||
build_type: [Debug, Release]
|
||||
include:
|
||||
- os: windows-2016
|
||||
standard: 11
|
||||
- os: windows-2019
|
||||
standard: 14
|
||||
- os: windows-2016
|
||||
platform: Win32
|
||||
build_type: Debug
|
||||
@ -33,7 +37,9 @@ jobs:
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: |
|
||||
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.shared}} \
|
||||
-A ${{matrix.platform}} $GITHUB_WORKSPACE
|
||||
-A ${{matrix.platform}} \
|
||||
-DCMAKE_CXX_STANDARD=${{matrix.standard}} \
|
||||
$GITHUB_WORKSPACE
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
|
Loading…
Reference in New Issue
Block a user