curl/.github/workflows
Viktor Szakats 04e3621dce
build: add poll() detection for cross-builds
For cross-builds rely on `_POSIX_C_SOURCE` to decide if `poll()` is
supported, rather than just assuming it isn't.

This may still miss to detect `poll()` support, as seen for example with
Linux MUSL cross-builds.

Also:

- GHA/curl-for-win: enable RISC-V 64 cross-target for Linux MUSL.
  (to test this case with cmake, with a false-negative.)
  The first RISC-V 64 build in curl's CI.

- GHA/curl-for-win: add arm64/intel64 job for Linux glibc.
  (to test this case with cmake, and succeed.)

- cmake: delete unnecessary `#include <sys/time.h>` from non-cross-build
  `poll()` detection snippet.
  Follow-up tp cc8b813765 #14718

Fixes #14714
Closes #14734
2024-08-30 17:14:33 +02:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
awslc.yml GHA: update CI dependencies 2024-08-25 23:39:02 +02:00
checkdocs.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checksrc.yml CI: add a script and job to run cmakelint 2024-08-27 08:33:44 -07:00
codeql-analysis.yml GHA: update github/codeql-action digest to 4dd1613 2024-08-29 16:53:23 +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 build: add poll() detection for cross-builds 2024-08-30 17:14:33 +02:00
cygwin.yml CI: add test timeouts, more cmake build tests, fix VS2010 C warning 2024-08-27 23:40:48 +02:00
distcheck.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
fuzz.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
hacktoberfest-accepted.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
http3-linux.yml GHA: update CI dependencies 2024-08-25 23:39:02 +02:00
label.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
linux-old.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
linux.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
linux32.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
macos.yml CI: add test timeouts, more cmake build tests, fix VS2010 C warning 2024-08-27 23:40:48 +02:00
non-native.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
torture.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
windows.yml GHA/windows: vcpkg GnuTLS started breaking CI, temp drop it 2024-08-28 17:51:25 +02:00
wolfssl.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00