🆕 [CI] Test with C++14 in Windows 2019

Problem:
- Both Windows builds test C++14

Solution:
- Use C++11 for `windows-2016` builds and C++14 for `windows-2019`
  builds.
This commit is contained in:
Jonathan Gopel 2020-11-11 09:13:00 -07:00
parent f8640d4050
commit 1c9dfc4280

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