]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: add integration tests, run them in CI
authorViktor Szakats <commit@vsz.me>
Wed, 29 Jan 2025 13:18:35 +0000 (14:18 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 6 Feb 2025 23:15:48 +0000 (00:15 +0100)
commitfb70812437ad28b74dbdc1031e46c1d86bc9db3c
tree071eac491f1f90c079d0951eb723b36857d8a323
parent2b9b3ec579d019fe55f49412ade91cc831403c58
cmake: add integration tests, run them in CI

Add CMake test project consuming curl via these methods:
`FetchContent`, `add_subdirectory()`, `find_package()`.

Also:
- GHA/distcheck: run these tests in CI.
- cmakelint: exclude a warning for calling "wonky-cased" built-in
  CMake functions, such as `FetchContent_Declare()`.

Closes #16126
.github/labeler.yml
.github/workflows/configure-vs-cmake.yml
.github/workflows/distcheck.yml
CMake/Utilities.cmake
Makefile.am
scripts/cmakelint.sh
tests/cmake/CMakeLists.txt [new file with mode: 0644]
tests/cmake/test.c [new file with mode: 0644]
tests/cmake/test.sh [new file with mode: 0755]