Skip to content

Commit

Permalink
ci: switch to debug to catch asserts in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GwnDaan committed Oct 7, 2023
1 parent a160e06 commit 87ee0a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [opened, synchronize, reopened]

env:
BUILD_TYPE: Release
BUILD_TYPE: Debug

jobs:
build_test_analyze:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Run build-wrapper
run: |
mkdir build
cmake -S . -B build -DBUILD_EXAMPLES=ON -DBUILD_TESTING=ON -DCAN_DRIVER=SocketCAN
cmake -S . -B build -DBUILD_EXAMPLES=ON -DBUILD_TESTING=ON -DCAN_DRIVER=SocketCAN -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config ${{ env.BUILD_TYPE }}
- name: Run
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 87ee0a4

Please sign in to comment.