Skip to content

Commit e388eef

Browse files
committed
Add debug build to Windows CI
1 parent ea30540 commit e388eef

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci-windows.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- windows-debug-build-failure
78
paths:
89
- 'CMakeLists.txt'
910
- 'include/sys/*'
@@ -14,6 +15,7 @@ on:
1415
pull_request:
1516
branches:
1617
- master
18+
- windows-debug-build-failure
1719
paths:
1820
- 'CMakeLists.txt'
1921
- 'src/common/*'
@@ -29,15 +31,18 @@ jobs:
2931
timeout-minutes: 5
3032
runs-on: windows-2022
3133
name: CI-windows (build)
34+
strategy:
35+
matrix:
36+
build_type: [Release, Debug]
3237

3338
steps:
3439
- uses: actions/checkout@v2
3540

3641
- name: Configure build system
3742
run: |
3843
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
44+
cmake -S . -B build_x64 -A x64 -G "Visual Studio 17 2022" -DSTATICLIB=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_VERBOSE_MAKEFILE=ON
4045
4146
- name: Build libkqueue
4247
run: |
43-
cmake --build build_x64 --target install --config Release --parallel 1
48+
cmake --build build_x64 --target install --config ${{ matrix.build_type }} --parallel 1

0 commit comments

Comments
 (0)