Skip to content

Commit

Permalink
ci/build: add release build check (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Sep 12, 2023
1 parent c01f641 commit 7b2d469
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

strategy:
matrix:
build_type: [Release, Debug]
compiler: [gcc, clang]
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
exclude:
Expand Down Expand Up @@ -56,7 +57,8 @@ jobs:
- name: cmake
run: |
cmake -B build -Werror -DCMAKE_C_FLAGS="-Werror" && cmake --build build -t retest
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -Werror -DCMAKE_C_FLAGS="-Werror"
cmake --build build -t retest
- name: retest
run: |
Expand Down

0 comments on commit 7b2d469

Please sign in to comment.