curl/.github/workflows
Viktor Szakats 45202cbba4
cmake: separate target for examples, optimize CI, fix fallouts
- Move `docs/examples` builds under a separate target.

- Make `BUILD_EXAMPLES` default to `ON`. It means to generate the rules
  for `docs/examples` by default, but not build them. To build them,
  an explicit `make curl-examples` (or ninja, etc) command is necessary.
  This syncs behaviour with autotools, and also how both cmake and
  autotools are building tests.

- GHA: update cmake jobs to use the new way of building examples.

- GHA: move examples build step at the end of the job, after building
  and running tests. This allows to have build and test run results
  faster, and leave the seldom-changing examples build to the end.
  Building examples is the slowest build step with no practical way to
  make them fast.

- appveyor: enable building examples in two old-MSVC jobs.

- examples: fix examples to build cleanly with old MSVC versions.

- GHA/non-native: move example build log under a GHA foldable section.

- GHA/windows: move building examples into separate step for Linux cross
  jobs.

Follow-up to dfdd978f7c #13491
Closes #14906
2024-09-20 23:53:33 +02:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
awslc.yml GHA: keep default pkgconf, do not replace with pkg-config on Linux 2024-09-20 02:13:03 +02:00
checkdocs.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checksrc.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
codeql-analysis.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
configure-vs-cmake.yml GHA/configure-vs-cmake: drop disabling dependency tracking [ci skip] 2024-08-26 16:29:20 +02:00
curl-for-win.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
cygwin.yml cmake: separate target for examples, optimize CI, fix fallouts 2024-09-20 23:53:33 +02:00
distcheck.yml GHA: misc updates: impacket, timeouts, mingw-w64 32-bit 2024-09-16 15:43:21 +02:00
fuzz.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
hacktoberfest-accepted.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
http3-linux.yml GHA: keep default pkgconf, do not replace with pkg-config on Linux 2024-09-20 02:13:03 +02:00
label.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
linux32.yml GHA: keep default pkgconf, do not replace with pkg-config on Linux 2024-09-20 02:13:03 +02:00
linux-old.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
linux.yml cmake: separate target for examples, optimize CI, fix fallouts 2024-09-20 23:53:33 +02:00
macos.yml cmake: separate target for examples, optimize CI, fix fallouts 2024-09-20 23:53:33 +02:00
non-native.yml cmake: separate target for examples, optimize CI, fix fallouts 2024-09-20 23:53:33 +02:00
torture.yml GHA: keep default pkgconf, do not replace with pkg-config on Linux 2024-09-20 02:13:03 +02:00
windows.yml cmake: separate target for examples, optimize CI, fix fallouts 2024-09-20 23:53:33 +02:00
wolfssl.yml GHA: keep default pkgconf, do not replace with pkg-config on Linux 2024-09-20 02:13:03 +02:00