github/workflow: build in release and debug mode
This commit is contained in:
parent
fe0e0ed2cc
commit
5e402f8dbf
5
.github/workflows/build-and-test.yml
vendored
5
.github/workflows/build-and-test.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user