Skip to content

Commit 659e459

Browse files
committed
Build Release and Debug
1 parent 671a5f8 commit 659e459

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- gcc-12
2626
- gcc-13
2727
- gcc-14
28+
build-type:
29+
- Release
30+
- Debug
2831
include:
2932
- compiler: clang-10
3033
cc: clang-10
@@ -94,7 +97,7 @@ jobs:
9497
- name: print environment
9598
run: env
9699
- name: configure
97-
run: cmake -S . -B build -DWERROR=ON -DCMAKE_BUILD_TYPE=Release
100+
run: cmake -S . -B build -DWERROR=ON -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
98101
- name: build
99102
run: cmake --build build --parallel 8
100103
env:

0 commit comments

Comments
 (0)