]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/linux: disable unity build for fix scanbuild job
authorViktor Szakats <commit@vsz.me>
Fri, 20 Sep 2024 22:31:04 +0000 (00:31 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 20 Sep 2024 22:59:52 +0000 (00:59 +0200)
Unity mode seems to defeat the scanner and miss issues.

before, miss: https://github.com/curl/curl/actions/runs/10967056702/job/30456136390
after, OK: https://github.com/curl/curl/actions/runs/10967128744/job/30456330732#step:35:1232

Tested with PR commit:
https://github.com/curl/curl/pull/14880/commits/32854bb30861e757d4f8d61d303c1b1f0e55bd26

Follow-up to 60c3d0446546332e1645541f2dc2c072cd019fe9 #14815
Closes #14987

.github/workflows/linux.yml

index dcca9e515e7c0ab111561d71d53551842c150a06..2ca69877e5abe64b1f8937f0c9f3696713e15647 100644 (file)
@@ -170,7 +170,7 @@ jobs:
           - name: scanbuild
             install_packages: clang-tools clang libssl-dev libssh2-1-dev
             install_steps: skipall
-            configure: --with-openssl --enable-debug --with-libssh2
+            configure: --with-openssl --enable-debug --with-libssh2 --disable-unity
             configure-prefix: CC=clang scan-build
             make-prefix: scan-build --status-bugs
             singleuse: --unit