curl/.github/workflows
Viktor Szakats 146759716c
cmake: fix pkg-config-based detection in FindGSS.cmake
Before this patch `pkg-config`-based detection was ignored, and used
solely as a path hint for native detection.

- fix `pkg_search_module()` result prefix to match what code expects:
  `_GSS` (was: `_GSS_PKG`). Update variable that were in sync with old
  prefix.

- update the pkg-config codepath to use `_GSS_MODULE_NAME` to detect
  GSS flavour. This requires CMake 3.16.
  Otherwise fall back to the old method. (The old method doesn't seem to
  work anymore (?) as of CMake 3.30.1. Documented
  `<prefix>_<modulename>_VERSION` variable is defined, but empty.)

- update the pkg-config codepath to use `_GSS_VERSION` set by CMake.
  Resort to the old code when this variable is empty. (The old code
  doesn't seem to work anymore (?) as of CMake 3.30.1)

- fix pkg-config codepath to set the documented result variables.

- align native detection variable names with those generated by
  `pkg_search_module()` in the pkg-config codepath.

- GHA/macos: enable GSS Heimdal in a cmake job.
  Uses the native detection.

- GHA/linux: enable GSS Heimdal in cmake and autotools jobs.
  CMake uses `pkg-config`-based detection.

- suppress test 2077 and 2078 results on Linux + Heimdal.
  ```
  FAIL-IGNORED 2077: 'curl --fail --negotiate to unauthenticated service fails' HTTP, HTTP GET, GSS-API
  FAIL-IGNORED 2078: 'curl --negotiate should not send empty POST request only' HTTP, HTTP GET, GSS-API
  ```
  Failing with valgrind errors in both autotools and cmake builds:
  https://github.com/curl/curl/actions/runs/10282222581/job/28453472068?pr=14430#step:38:3638
  https://github.com/curl/curl/actions/runs/10282222581/job/28453473398?pr=14430#step:38:7831

Closes #14430
2024-08-07 15:13:07 +02:00
..
appveyor-status.yml tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
awslc.yml GHA: update awslabs/aws-lc to v1.33.0 2024-08-02 08:43:17 +02:00
badwords.yml GHA: run badwords check on tests/*.md too 2024-08-06 13:43:25 +02:00
binarycheck.yml GHA: scan git repository and detect unvetted binary files 2024-08-01 12:30:36 +02:00
codeql-analysis.yml GHA: bump github/codeql-action and msys2/setup-msys2 2024-07-30 11:59:02 +02:00
codespell.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
configure-vs-cmake.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
curl-for-win.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00
cygwin.yml GHA/windows: move Cygwin into its own workflow 2024-08-03 20:21:25 +02:00
distcheck.yml ci: Update actions/upload-artifact digest to 89ef406 2024-08-03 09:22:25 +02:00
fuzz.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00
hacktoberfest-accepted.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
http3-linux.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00
label.yml GHA: pin dependencies 2024-05-15 13:35:45 +02:00
linkcheck.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
linux32.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00
linux-old.yml cmake: add support for versioned symbols option 2024-08-05 01:44:57 +02:00
linux.yml cmake: fix pkg-config-based detection in FindGSS.cmake 2024-08-07 15:13:07 +02:00
macos.yml cmake: fix pkg-config-based detection in FindGSS.cmake 2024-08-07 15:13:07 +02:00
man-examples.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
non-native.yml GHA/non-native: ignore FreeBSD FTP test results 2024-08-04 02:08:27 +02:00
proselint.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
reuse.yml GHA: update fsfe/reuse-action action to v4 2024-07-04 09:53:48 +02:00
shellcheck.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
spacecheck.yml CI: add whitespace checker 2024-06-27 13:33:30 +02:00
spellcheck.yml GHA: update pinned actions 2024-06-14 09:36:22 +02:00
synopsis.yml CI/synopsis.yml: run on .md files 2024-06-27 12:47:29 +02:00
torture.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00
windows.yml GHA/windows: bump msys2/setup-msys2 from 2.24.0 to 2.24.1 2024-08-05 23:35:18 +02:00
wolfssl.yml GHA/non-native: improve, migrate x86_64 FreeBSD with tests from Cirrus CI 2024-07-29 20:46:40 +02:00