Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit e696154

Browse files
CI: add extra Windows build with C++17
1 parent fbe4025 commit e696154

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/gha.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,12 @@ jobs:
102102
MSBUILD: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\MSBuild\\Current\\Bin"
103103
strategy:
104104
matrix:
105-
CONFIG: [Debug, Release]
105+
BUILD_TYPE: [Debug, Release]
106+
CXX_STANDARD: [14]
107+
include:
108+
- BUILD_TYPE: RelWithDebInfo
109+
CXX_STANDARD: 17
110+
106111
steps:
107112
- name: Update PATH
108113
run: echo "${env:MSBUILD}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
@@ -141,19 +146,20 @@ jobs:
141146
run: cmake . -Bbuild
142147
-G "${env:GENERATOR}"
143148
-A "${env:ARCH}"
144-
-DCMAKE_BUILD_TYPE="${{ matrix.CONFIG }}"
149+
-DCMAKE_BUILD_TYPE="${{ matrix.BUILD_TYPE }}"
145150
-DCMAKE_TOOLCHAIN_FILE="${env:CMAKE_TOOLCHAIN_FILE}"
146151
-DCMAKE_INSTALL_PREFIX="${env:CMAKE_INSTALL_PREFIX}"
147152
-DTESTS_USE_FORCED_PMEM=ON
148153
-DTESTS_TBB=ON
149154
-DDEVELOPER_MODE=ON
155+
-DCXX_STANDARD="${{ matrix.CXX_STANDARD }}"
150156

151157
- name: Build
152-
run: msbuild build/ALL_BUILD.vcxproj /property:Configuration=${{ matrix.CONFIG }} /verbosity:minimal /m
158+
run: msbuild build/ALL_BUILD.vcxproj /property:Configuration=${{ matrix.BUILD_TYPE }} /verbosity:minimal /m
153159

154160
- name: Tests
155161
working-directory: build
156-
run: ctest -C ${{ matrix.CONFIG }} --output-on-failure --timeout "${env:TEST_TIMEOUT}"
162+
run: ctest -C ${{ matrix.BUILD_TYPE }} --output-on-failure --timeout "${env:TEST_TIMEOUT}"
157163

158164
- name: Install
159165
working-directory: build

0 commit comments

Comments
 (0)