Skip to content

Commit

Permalink
ci: Fix building and running with sanitizers
Browse files Browse the repository at this point in the history
The sanitizers need to be activated at configuration time
of the CMake project. Not when executing the build command.
  • Loading branch information
LukasWoodtli authored and mlasch committed Nov 21, 2023
1 parent f3d931d commit 2d5ac13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:

- name: Build all binaries
run: |
tools/ci/run_ci.sh --run-build --verbose
tools/ci/run_ci.sh --run-build --sanitizer ${{ matrix.sanitizer }} --verbose
env:
CC: ${{ matrix.compiler }}

- name: Build, execute sanitized unit tests
run: |
tools/ci/run_ci.sh --run-tests --sanitizer ${{ matrix.sanitizer }}
tools/ci/run_ci.sh --run-tests
env:
CC: ${{ matrix.compiler }}

Expand Down

0 comments on commit 2d5ac13

Please sign in to comment.