curl/.github/workflows
Viktor Szakats 9e6f1c5efb
build: add build-level CURL_DISABLE_TYPECHECK options
Usage:
- autotools: `--disable-typecheck` (or `--enable-typecheck` (default))
- cmake: `-DCURL_DISABLE_TYPECHECK=ON`.

To disable `curl_easy_setopt()`/`curl_easy_getinfo()` type checking with
supported (new) gcc and clang compilers. It is useful to improve build
performance for the `tests/libtest` target. In particular the CodeQL
analyzer may take above an hour to compile with type checking enabled,
and disabling it brings it down to seconds. On local machines it may
also cut build times in half when build testdeps, depending on platform
and compiler.

Other than these cases, we recommend leaving type checking enabled.

Ref: fdacf34aae #19632

Also:
- GHA/codeql: use it.
- test1165: check in `include/curl`.
- lib1912: delete stray todo comment.
- spelling and comment nits.

Closes #19637
2025-11-21 13:48:35 +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/checksrc: switch xmllint job to Linux (from macOS) 2025-11-21 04:01:27 +01:00
codeql.yml build: add build-level CURL_DISABLE_TYPECHECK options 2025-11-21 13:48:35 +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: disable TLS in the linux-old build 2025-11-21 10:37:33 +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