]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
analysis workflow, add undefined behaviour sanitizer test.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 09:11:16 +0000 (11:11 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 09:11:16 +0000 (11:11 +0200)
.github/workflows/analysis_ports.yml

index 22f441756b08847a3a96b6bb67a808ca5d5d76dd..414bae6560ce1a10418c44d07c84dbb62b545cfd 100644 (file)
@@ -19,28 +19,32 @@ jobs:
 #            os: ubuntu-latest
 #            config: "--enable-debug --disable-flto"
 #            make_test: "yes"
-#          - name: Clang on Linux, clang-analysis
+#          - name: Clang-analyzer
 #            os: ubuntu-latest
 #            config: "CC=clang --enable-debug --disable-flto"
 #            make_test: "yes"
 #            clang_analysis: "yes"
-          - name: Clang on Linux, libevent, clang-analysis
-            os: ubuntu-latest
-            install_libevent: "yes"
-            config: "CC=clang --enable-debug --disable-flto --with-libevent"
-            make_test: "yes"
-            clang_analysis: "yes"
-#          - name: GCC on OS X
+#          - name: libevent
+#            os: ubuntu-latest
+#            install_libevent: "yes"
+#            config: "CC=clang --enable-debug --disable-flto --with-libevent"
+#            make_test: "yes"
+#            clang_analysis: "yes"
+#          - name: OS X
 #            os: macos-latest
 #            install_expat: "yes"
 #            config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
 #            make_test: "yes"
-          - 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"
+#          - 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"
+#            make_test: "yes"
+#            clang_analysis: "yes"
+          - name: ubsan (gcc undefined behaviour sanitizer)
+            os: ubuntu-latest
+            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto'
             make_test: "yes"
-            clang_analysis: "yes"
  
     steps:
       - uses: actions/checkout@v2