Skip to content

Commit

Permalink
🆕 [CI] Test with C++14 in Windows 2019 (#2020)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jgopel and Jonathan Gopel authored Nov 19, 2020
1 parent 55dfdd9 commit 5533641
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5533641

Please sign in to comment.