Skip to content

cmake: extend integration tests - #1589

Closed
vszakats wants to merge 40 commits into
libssh2:masterfrom
vszakats:cm-t-i
Closed

vszakats wants to merge 40 commits into
libssh2:masterfrom
vszakats:cm-t-i

Conversation

@vszakats

Copy link
Copy Markdown
Member
  • ci/GHA: add cmake integration tests for Windows.
  • ci/GHA: test add_subdirectory with Libgcrypt.
  • make them run faster with prefill, unity, Ninja, omitting curl tool.
  • add support for any build configuration.
  • add old-cmake support with auto-detection.
  • auto-detect Ninja.
  • run consumer test apps to see if they work.
    Also show the cryptography backend.
  • add support for Windows.
  • make it more verbose.
  • re-add ExternalProject cmake consumer test. It's broken.
  • tidy up terminology.

Cherry-picked from #1581

@vszakats vszakats closed this in 77df767 Apr 27, 2025
@vszakats
vszakats deleted the cm-t-i branch April 27, 2025 11:48
vszakats added a commit that referenced this pull request Apr 28, 2025
vszakats added a commit that referenced this pull request Aug 7, 2025
By micromanaging the project dependency and its inclusion into the test
project. It feels like an awkward construct, but perhaps better than
nothing.

It's also fragile because it's a static build with no assistance from
the external project (curl in this case). Mitigated in test by disabling
all dependencies and some features.

Since there is no special core cmake logic to be tested here, in CI
the test is tested really. To keep CI jobs at minimum, only add 3 of
them, taking 26s in total. (All 6 would take 203s.)

Follow-up to 77df767 #1589

Closes #1637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant