diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d42585a..aeecd9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,9 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-22.04] - compiler: ['CC=gcc CXX=g++', 'CC=clang CXX=clang++'] + # Enable Adress Sanitizer only on Clang. + # This will improve the test suite quality, even without Valgrind. + compiler: ['CC=gcc CXX=g++', '--disable-malloc-replacement CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer"'] interface: [ncurses, gtk] # NOTE: The virtual environments already contain both GCC and Clang |