Skip to content

cmake: make the ExternalProject test work - #1637

Closed
vszakats wants to merge 10 commits into
libssh2:masterfrom
vszakats:cmextp
Closed

vszakats wants to merge 10 commits into
libssh2:masterfrom
vszakats:cmextp

Conversation

@vszakats

@vszakats vszakats commented Aug 7, 2025 •

Copy link
Copy Markdown
Member

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 (libssh2 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

@vszakats vszakats added the build label Aug 7, 2025
@vszakats vszakats closed this in 714fa87 Aug 7, 2025
@vszakats
vszakats deleted the cmextp branch August 7, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant