Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jan 29, 2025

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().

@vszakats vszakats marked this pull request as draft January 29, 2025 13:19
@github-actions github-actions bot added the CI Continuous Integration label Jan 29, 2025
@vszakats vszakats changed the title cmake: add integration tests cmake: add integration tests, run them in CI Jan 29, 2025
@vszakats vszakats marked this pull request as ready for review January 29, 2025 15:19
@vszakats vszakats added the build label Jan 29, 2025
@vszakats vszakats closed this in fb70812 Feb 6, 2025
@vszakats vszakats deleted the cm-integr branch February 6, 2025 23:16
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
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 curl#16126
vszakats added a commit that referenced this pull request Sep 24, 2025
It was using the global parallel value in cmake integration tests, while
on macos runners, this should be lower by one, as used in other macos
jobs. Performance impact is minimal.

Follow-up to fb70812 #16126
Closes #18701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration cmake tests

Development

Successfully merging this pull request may close these issues.

1 participant