github/workflow: build in release and debug mode

This commit is contained in:
Tom 2020-08-01 14:50:14 +02:00
parent fe0e0ed2cc
commit 5e402f8dbf

View File

@ -4,7 +4,8 @@ jobs:
strategy: strategy:
matrix: matrix:
compiler: [g++, clang++] 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 timeout-minutes: 10
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env: env:
@ -28,7 +29,7 @@ jobs:
run: > run: >
mkdir -p build mkdir -p build
&& cd build && cd build
&& cmake .. && cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
&& make && make
- name: Build Test - name: Build Test
run: cd build && make sgnl-test run: cd build && make sgnl-test