curl-curl/.github/workflows
Viktor Szakats 26eddf002f
GHA/linux: switch clang-tidy job to cmake for 2x speed, bump to v20, enable for tests
Checking lib and src under 3m15s versus 7m15s.

Downside: autotools clang-tidy support is no longer CI-tested.

The reason for the slowness is invoking a single clang-tidy command with
all source files, and clang-tidy checking them in a single thread,
sequentially. clang-tidy offers a `run-clang-tidy` Python script for
parallel  processing, which may help with this. However at this point
it's more practical to use cmake, which also supports verifying the
whole codebase, not only lib and src.

Also:
- bump clang-tidy to the latest available, v20 (from v18).
- enable running clang-tidy on tests. Takes under 2 minutes.

Also tried `_CURL_TESTS_CONCAT=ON`, it brings down the build tests step
from 1m47s to 54s, saving 1 minute. Skipped using it for now.

Closes #20725
2026-02-26 05:08:30 +01:00
..
appveyor-status.yml GHA: switch 12 Linux jobs to arm64 2026-01-09 19:35:16 +01:00
checkdocs.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
checksrc.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
checkurls.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
codeql.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
configure-vs-cmake.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
curl-for-win.yml GHA: bump GHA and pip dependencies 2026-02-01 16:40:37 +01:00
distcheck.yml cmake: add C++ integration test 2026-02-23 14:43:37 +01:00
fuzz.yml GHA: silence fresh zizmor 1.21.0 warnings 2026-01-16 13:48:28 +01:00
http3-linux.yml GHA: update google/boringssl to v0.20260211.0 2026-02-12 17:38:35 +01:00
label.yml GHA: use ubuntu-slim image in 3 jobs 2026-01-25 18:54:12 +01:00
linux-old.yml GHA/linux-old: use tilde where possible and consistent 2026-02-05 13:12:10 +01:00
linux.yml GHA/linux: switch clang-tidy job to cmake for 2x speed, bump to v20, enable for tests 2026-02-26 05:08:30 +01:00
macos.yml build: make HTTP_ONLY build options also disable websockets 2026-02-05 13:12:10 +01:00
non-native.yml GHA/non-native: enable FreeBSD on arm again 2026-02-22 20:43:05 +01:00
windows.yml cmake: add native clang-tidy support for tests, with concatenated sources 2026-02-25 17:28:35 +01:00