Skip to content

Commit

Permalink
disable asan in gcc, it crashes without any information
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-ce committed Jan 16, 2024
1 parent 9d2d3b1 commit 8858f1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
- compiler: gcc
CC: '/usr/bin/gcc'
CXX: '/usr/bin/g++'
asan: 'OFF'
- compiler: clang15
CC: '/usr/bin/clang-15'
CXX: '/usr/bin/clang++-15'
asan: 'ON'
- compiler: clang17
CC: '/usr/bin/clang-17'
CXX: '/usr/bin/clang++-17'
asan: 'ON'

runs-on: ubuntu-latest

Expand Down Expand Up @@ -66,7 +69,7 @@ jobs:
run: >
cmake -G Ninja
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DALP_ENABLE_ADDRESS_SANITIZER=ON
-DALP_ENABLE_ADDRESS_SANITIZER=${{ matrix.asan }}
-DCMAKE_BUILD_TYPE=Debug
-B ./build
Expand Down

0 comments on commit 8858f1b

Please sign in to comment.