Skip to content

Commit c25fe2b

Browse files
timwojarr2036
authored andcommitted
Add debug build to Windows CI
1 parent fa6f3ee commit c25fe2b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci-windows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,18 @@ jobs:
2929
timeout-minutes: 5
3030
runs-on: windows-2022
3131
name: CI-windows (build)
32+
strategy:
33+
matrix:
34+
build_type: [Release, Debug]
3235

3336
steps:
3437
- uses: actions/checkout@v2
3538

3639
- name: Configure build system
3740
run: |
3841
cmake --version
39-
cmake -S . -B build_x64 -A x64 -G "Visual Studio 17 2022" -DSTATICLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
42+
cmake -S . -B build_x64 -A x64 -G "Visual Studio 17 2022" -DSTATICLIB=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_VERBOSE_MAKEFILE=ON
4043
4144
- name: Build libkqueue
4245
run: |
43-
cmake --build build_x64 --target install --config Release --parallel 1
46+
cmake --build build_x64 --target install --config ${{ matrix.build_type }} --parallel 1

0 commit comments

Comments
 (0)