]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
analysis workflow, Add address sanitizer test, disable static for build speedup.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 09:17:57 +0000 (11:17 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 09:17:57 +0000 (11:17 +0200)
.github/workflows/analysis_ports.yml

index 414bae6560ce1a10418c44d07c84dbb62b545cfd..51e04815cd074ee707159ffbf21b322f34c3a7b3 100644 (file)
@@ -21,13 +21,13 @@ jobs:
 #            make_test: "yes"
 #          - name: Clang-analyzer
 #            os: ubuntu-latest
-#            config: "CC=clang --enable-debug --disable-flto"
+#            config: "CC=clang --enable-debug --disable-flto --disable-static"
 #            make_test: "yes"
 #            clang_analysis: "yes"
 #          - name: libevent
 #            os: ubuntu-latest
 #            install_libevent: "yes"
-#            config: "CC=clang --enable-debug --disable-flto --with-libevent"
+#            config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static"
 #            make_test: "yes"
 #            clang_analysis: "yes"
 #          - name: OS X
@@ -38,12 +38,16 @@ jobs:
 #          - name: Clang on OS X
 #            os: macos-latest
 #            install_expat: "yes"
-#            config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
+#            config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat --disable-static"
 #            make_test: "yes"
 #            clang_analysis: "yes"
-          - name: ubsan (gcc undefined behaviour sanitizer)
+#          - name: ubsan (gcc undefined behaviour sanitizer)
+#            os: ubuntu-latest
+#            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static'
+#            make_test: "yes"
+          - name: asan (gcc address sanitizer)
             os: ubuntu-latest
-            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto'
+            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static'
             make_test: "yes"
  
     steps: