Skip to content

Commit

Permalink
CI: Test with address sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
2xB authored Jun 7, 2024
1 parent cdf82a1 commit 2d8a289
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
fi
./setup.sh
KASSIOPEIA_CUSTOM_CMAKE_ARGS="-DENABLE_SANITIZE_ADDRESSES=ON" ./setup.sh
shell: bash

- name: Launch environment and run tests
Expand Down Expand Up @@ -72,7 +72,8 @@ jobs:
root-core root-io-xmlparser root-minuit2 root-spectrum root-genvector \
vtk vtk-qt \
boost-devel fftw-devel gsl-devel hdf5-devel libomp-devel liburing-devel libxml2-devel log4cxx-devel \
ocl-icd-devel openmpi-devel openssl-devel sqlite-devel vtk-devel zlib-devel
ocl-icd-devel openmpi-devel openssl-devel sqlite-devel vtk-devel zlib-devel \
libasan
- name: Build code
run: |
if ${{ matrix.use_clang }}; then
Expand All @@ -81,7 +82,7 @@ jobs:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
fi
./setup.sh
KASSIOPEIA_CUSTOM_CMAKE_ARGS="-DENABLE_SANITIZE_ADDRESSES=ON" ./setup.sh
shell: bash

- name: Launch environment and run tests
Expand Down

0 comments on commit 2d8a289

Please sign in to comment.