Skip to content

Commit 71f601f

Browse files
ci: Add C++20 target for VS2019
1 parent 6dc8fc7 commit 71f601f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/unittests_windows.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ jobs:
1313
WinVS2019:
1414
name: Windows VS2019
1515
runs-on: windows-2019
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
standard: [14, 20]
1620

1721
steps:
1822
- uses: actions/checkout@v2
1923

2024
- name: CMake build tests Windows
2125
shell: bash
2226
run: |
23-
mkdir build
24-
cd build
25-
cmake ..
26-
cmake --build . --config Release
27+
cmake -S . -B build -DCMAKE_CXX_STANDARD=${{ matrix.standard }}
28+
cmake --build build --config Release
2729
2830
- name: CMake run tests Windows
2931
shell: bash

0 commit comments

Comments
 (0)