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: |