summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2022-06-21 14:38:53 +0000
committerIvan Zhakov <ivan@apache.org>2022-06-21 14:38:53 +0000
commita395d2c66b7203e26065b31b9422f73da1b61317 (patch)
treea91e8684e4c56e8cbcaea147f4aa5df7aa60f129 /.github
parent935a9d6965cf5d382cebcc403deb03afc62f6d74 (diff)
downloadapr-a395d2c66b7203e26065b31b9422f73da1b61317.tar.gz
* .github/workflows/linux.yml: Add Address Sanitizer tests.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902141 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 22ee9972a..283840695 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -29,6 +29,14 @@ jobs:
- name: Maintainer-mode, -Werror
notest-cflags: -Werror
config: --enable-maintainer-mode
+ - name: ASan
+ # w/o ODBC since DSO unload leaks memory and fails the tests
+ notest-cflags: -fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer -Werror -O2
+ config: --with-odbc=no
+ - name: ASan, pool-debug
+ # w/o ODBC since DSO unload leaks memory and fails the tests
+ notest-cflags: -fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer -Werror -O2
+ config: --enable-pool-debug --with-odbc=no
- name: UBsan
notest-cflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer -Werror -O2