From 5e402f8dbf69efb79b2c385e0046098350d28d82 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 1 Aug 2020 14:50:14 +0200 Subject: [PATCH] github/workflow: build in release and debug mode --- .github/workflows/build-and-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cc05868..ad7c535 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -4,7 +4,8 @@ jobs: strategy: matrix: compiler: [g++, clang++] - name: Build and run tests (${{ matrix.compiler }}) + build_type: [Release, Debug] + name: Build and run tests (${{ matrix.compiler }}, ${{ matrix.build_type }}) timeout-minutes: 10 runs-on: ubuntu-20.04 env: @@ -28,7 +29,7 @@ jobs: run: > mkdir -p build && cd build - && cmake .. + && cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. && make - name: Build Test run: cd build && make sgnl-test