From 7b2d469737d1ba20a23a1e0f39b76197dd31e227 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Tue, 12 Sep 2023 13:40:16 +0200 Subject: [PATCH] ci/build: add release build check (#954) --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b72c85762..36c20691e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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: |