Skip to content

Commit 88729a1

Browse files
committed
Add CI jobs for Visual Studio 2022 and for Debug builds
1 parent ccc0889 commit 88729a1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/windows.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
generator:
28-
- Visual Studio 16 2019
27+
version:
28+
- generator: Visual Studio 16 2019
29+
runs-on: windows-2019
30+
- generator: Visual Studio 17 2022
31+
runs-on: windows-2022
2932
configuration:
3033
- Release
3134
# Github hosted runners tend to hang when running Debug unit tests.
3235
# Instead of trying to work around it, disable the Debug job until
3336
# something beefier (i.e. a heavy self-hosted runner) becomes
3437
# available.
35-
# - Debug
36-
runs-on: windows-2019
38+
- Debug
39+
runs-on: ${{ matrix.version.runs-on }}
3740
env:
3841
build_dir: .build
3942
steps:
@@ -80,7 +83,7 @@ jobs:
8083
- name: build
8184
uses: ./.github/actions/build
8285
with:
83-
generator: '${{ matrix.generator }}'
86+
generator: '${{ matrix.version.generator }}'
8487
configuration: ${{ matrix.configuration }}
8588
# Hard code for now. Move to the matrix if varied options are needed
8689
cmake-args: '-Dassert=ON -Dreporting=OFF -Dunity=ON'

0 commit comments

Comments
 (0)