Skip to content

Commit

Permalink
ci: compile with ASAN
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Dec 9, 2023
1 parent d33da36 commit 5b9b762
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jobs:
runs-on: ubuntu-latest
container:
image: fedora:latest
env:
CFLAGS: -fsanitize=address
CXXFLAGS: -fsanitize=address
FFLAGS: -fsanitize=address
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: |
yum -y install gcc gcc-c++ gcc-gfortran make wget which cmake cmake-data cmake-filesystem lhapdf lhapdf-devel swig python-devel
yum -y install gcc gcc-c++ gcc-gfortran libasan make wget which cmake cmake-data cmake-filesystem lhapdf lhapdf-devel swig python-devel
- name: Compile
run: |
cmake -S . -B BUILD -DCMAKE_INSTALL_PREFIX=$(pwd)/../INSTALL
Expand Down

0 comments on commit 5b9b762

Please sign in to comment.