curl-curl/.github/workflows
Viktor Szakats 5b454bae0c
cmake: test integration with old cmake (v3.11.4 2018-03-28)
Tests with old cmake are slow. (no Ninja, no unity, and running slower
than recent versions.)

It also revealed that 3.7.2 2017-01-13 is too old to consume curl via
`find_package()` due to:
```
CMake Error at bld-curl/_pkg/lib/cmake/CURL/CURLConfig.cmake:69 (add_library):
  add_library cannot create ALIAS target "CURL::libcurl" because target
  "CURL::libcurl_shared" is IMPORTED.
Call Stack (most recent call first):
  CMakeLists.txt:48 (find_package)

CMake Error at bld-curl/_pkg/lib/cmake/CURL/CURLConfig.cmake:69 (add_library):
  add_library cannot create ALIAS target "CURL::libcurl" because target
  "CURL::libcurl_shared" is IMPORTED.
Call Stack (most recent call first):
  CMakeLists.txt:49 (find_package)
```
The mitigation for this issue requires 3.11.

Also:
- rename a few existing envs to use the `TEST_` prefix.
- make the `find_package` test provider stage verbose.
- fix issue when consuming with cmake 3.7.2 (all platforms):
  ```
  CMake Error at /home/runner/cmake-3.7.2-Linux-x86_64/share/cmake-3.7/Modules/CMakeFindDependencyMacro.cmake:25 (message):
    Invalid arguments to find_dependency.  VERSION is empty
  Call Stack (most recent call first):
    bld-curl/_pkg/lib/cmake/CURL/CURLConfig.cmake:52 (find_dependency)
    CMakeLists.txt:48 (find_package)
  ```
  Ref: https://github.com/curl/curl/actions/runs/14906066962/job/41868621979?pr=17293#step:9:1199

Closes #17293
2025-05-08 15:11:24 +02:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checkdocs.yml GHA: skip updating man-db for faster installs (Ubuntu) 2025-04-25 10:17:36 +02:00
checksrc.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
configure-vs-cmake.yml GHA: skip updating man-db for faster installs (Ubuntu) 2025-04-25 10:17:36 +02:00
curl-for-win.yml GHA/curl-for-win: switch to podman (from docker) 2025-04-03 23:23:37 +02:00
distcheck.yml cmake: test integration with old cmake (v3.11.4 2018-03-28) 2025-05-08 15:11:24 +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: set persist-credentials: false 2024-12-16 18:00:22 +01:00
http3-linux.yml GHA: update wolfSSL/wolfssl to v5.8.0 2025-04-25 22:34:32 +02:00
label.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
linux-old.yml libssh: drop support for libssh older than 0.9.0 2025-02-06 22:27:13 +01:00
linux.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
macos.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00
non-native.yml GHA: Update libressl-portable/portable to v4.1.0 2025-05-01 12:13:19 +02:00
windows.yml GHA/checksrc: check GHA rules with zizmor 2025-05-07 23:11:09 +02:00