Skip to content

Commit

Permalink
workflows: Disable sanitizers on Ubuntu 18.04
Browse files Browse the repository at this point in the history
The address sanitizer also produces false positives for Clang. Closer
investigation with Valgrind shows that all the reported leaks happen
within GLib's internal functions.
  • Loading branch information
michaelkuhn committed Oct 14, 2021
1 parent 01a018d commit b2244ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ jobs:
- name: Configure
env:
CC: ${{ matrix.os.compiler }}
# FIXME Ubuntu 18.04's GCC sanitizer seems to produce false positives regarding a stack overflow in the db client.
# FIXME Ubuntu 18.04's sanitizers produce many false positives.
run: |
. scripts/environment.sh
if test "${{ matrix.os.compiler }}" = 'clang'
then
meson setup -Db_sanitize=address,undefined -Db_lundef=false bld
elif test "${{ matrix.os.dist }}" = 'ubuntu-18.04'
if test "${{ matrix.os.dist }}" = 'ubuntu-18.04'
then
meson setup bld
elif test "${{ matrix.os.compiler }}" = 'clang'
then
meson setup -Db_sanitize=address,undefined -Db_lundef=false bld
else
meson setup -Db_sanitize=address,undefined bld
fi
Expand Down

0 comments on commit b2244ec

Please sign in to comment.