🆕 [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:
Jonathan Gopel 2020-11-19 07:04:16 -07:00 committed by GitHub
parent 55dfdd9299
commit 5533641319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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