mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
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
This commit is contained in:
parent
2b9b3ec579
commit
fb70812437
9 changed files with 197 additions and 5 deletions
2
.github/workflows/configure-vs-cmake.yml
vendored
2
.github/workflows/configure-vs-cmake.yml
vendored
|
|
@ -13,6 +13,7 @@ name: configure-vs-cmake
|
|||
- '**/CMakeLists.txt'
|
||||
- 'CMake/**'
|
||||
- 'lib/curl_config.h.cmake'
|
||||
- 'tests/cmake/**'
|
||||
- '.github/scripts/cmp-config.pl'
|
||||
- '.github/workflows/configure-vs-cmake.yml'
|
||||
|
||||
|
|
@ -25,6 +26,7 @@ name: configure-vs-cmake
|
|||
- '**/CMakeLists.txt'
|
||||
- 'CMake/**'
|
||||
- 'lib/curl_config.h.cmake'
|
||||
- 'tests/cmake/**'
|
||||
- '.github/scripts/cmp-config.pl'
|
||||
- '.github/workflows/configure-vs-cmake.yml'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue