]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA/linux: split valgrind jobs to job-pairs for parallelism, to finish in 10m
authorViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 02:13:32 +0000 (03:13 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 14:51:00 +0000 (15:51 +0100)
commit2cbcde90e7a5eb7144079dcacc21393322b1daf7
treeee53ae545f7eff4779fa3dc30c638f0cc37d1007
parentff958fc4b2c606d70de8dbfe083bee98896c0072
GHA/linux: split valgrind jobs to job-pairs for parallelism, to finish in 10m

To make CI turnaround time shorter, by cutting the longest running jobs.
After this patch all jobs should finish around 10-11 minutes. Down from
15-16 minutes before this patch.

Suggested-by: Stefan Eissing
The fuzzing workflow is now the slowest (with a 7-minute startup time
needed to build deps from source on each run), followed by macOS
and Windows torture tests (both split in two now). Without fuzzing, it's
under 10 minutes.

Notes:
- an extra cost with job-pairs is installing prereqs,
  configuring/building curl and tests twice. GitHub doesn't support
  making a matrix job a prereq for another workflow that may fix this:
    https://github.com/orgs/community/discussions/42335
  This overhead is significant on Windows: 11m20 -> 9m20 + 8m40
- job-pairs are annoying to maintain and keep in sync.
- splitting tests into halves is a manual process and needs to be
  revisited from time to time. Possibly something to automate with
  a runtests option, e.g. with `1 of 50%` and `2 of 50%`?

Also:
- split torture tests in two equal pieces, replacing the `FTP` + `!FTP`
  split used earlier.

Related perf improvements from today:
- make scan-build 2x fast:
  ff958fc4b2c606d70de8dbfe083bee98896c0072 #20159
- drop build-only Testi386 fuzz workflow (from curl), saving 9m per run:
  https://github.com/curl/curl-fuzzer/commit/0106023c1f2f0b9ff3aa86e19402b4a03e4f925c
  https://github.com/curl/curl-fuzzer/pull/236

Closes #20153
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/windows.yml