curl-curl/.github/workflows
Viktor Szakats fdacf34aae
GHA/codeql: add tweak to successfully build libtests for CodeQL
Turns out the cause of CodeQL hangs (or probably just extreme long
compile) is the header `curl/typecheck-gcc.h`. By accident I noticed
that the preprocessed output of libtests.c is 75 MB (megabytes). This
is much higher than the amounf of source code hinted, also compared to
e.g. units.c or other build targets. The reason for the extreme size
is each easy option call pulling in the large checker logic defined
in this header.

By compiling with `-DCURL_DISABLE_TYPECHECK`, preprocessed output drops
to 2.2 MB (34x), and the libtests target builds without issues.

Also build all tests and examples with the Linux HTTP/3 config, covering
3 more files.

With these, CodeQL C coverage is 893 out of 930 (96%) (was: 645 69%)

Follow-up to 71fc11e6bb #18695
Follow-up to a333fd4411 #18557
Follow-up to b4922b1295 #18564

Closes https://github.com/vszakats/curl/pull/11
Closes #19632
2025-11-21 03:48:16 +01:00
..
appveyor-status.yml scripts: pass -- before passing xargs 2025-10-16 20:45:28 +02:00
checkdocs.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
checksrc.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
codeql.yml GHA/codeql: add tweak to successfully build libtests for CodeQL 2025-11-21 03:48:16 +01:00
configure-vs-cmake.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
curl-for-win.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
distcheck.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
fuzz.yml GHA/fuzz: try fixing concurrency group deadlock 2025-10-24 13:46:14 +02:00
http3-linux.yml GHA: update dependency wolfSSL/wolfssl to v5.8.4 2025-11-21 03:48:16 +01:00
label.yml GHA: set concurrency: where missing 2025-10-24 13:38:11 +02:00
linux-old.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
linux.yml GHA: update dependency wolfSSL/wolfssl to v5.8.4 2025-11-21 03:48:16 +01:00
macos.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
non-native.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00
windows.yml GHA: update actions/checkout action to v6 from v5 2025-11-20 22:27:00 +01:00