curl/.github/workflows
Viktor Szakats f1d1c98b7f
cmake: fix HAVE_GETHOSTBYNAME_R_* detections with CURL_WERROR=ON
Fix `HAVE_GETHOSTBYNAME_R_*` feature detections always failing with
`CURL_WERROR=ON` due to stripping a const.

Also fix the GHA/cmake-vs-configure to enable `CURL_WERROR=ON` to sync
this setting with `./configure` which enables it by default. With that,
CI detects this issue.

```
CMake/CurlTests.c:73:19: error: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   73 |   char *address = "example.com";
      |                   ^~~~~~~~~~~~~
```
Ref: https://github.com/curl/curl/actions/runs/13225827821/job/36916564107#step:33:4198

Closes #16282
2025-02-10 12:54:11 +01:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checkdocs.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
checksrc.yml GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
configure-vs-cmake.yml cmake: fix HAVE_GETHOSTBYNAME_R_* detections with CURL_WERROR=ON 2025-02-10 12:54:11 +01:00
curl-for-win.yml GHA/curl-for-win: drop nolibgroup option, upstream default now 2025-02-06 23:43:09 +01:00
distcheck.yml cmake: add integration tests, run them in CI 2025-02-07 00:15:48 +01: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/http3-linux: fix quictls cache key mismatch 2025-02-08 19:11:37 +01:00
label.yml GHA: tidy up quotes, checkout order, silence Android/CMake warnings 2025-01-19 15:03:16 +01: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/linux: hide progress bar in apt remove 2025-02-10 05:15:42 +01:00
macos.yml cmake: drop LDAP_DEPRECATED=1 macro, to sync with autotools 2025-02-07 00:07:38 +01:00
non-native.yml GHA/non-native: skip examples in non-unity job 2025-02-05 22:50:29 +01:00
windows.yml GHA/windows: improve build perf with cmake unity batches 2025-02-10 12:54:11 +01:00