feat(cpp/client, py/client, csharp/client): DH-22472, DH-22473, DH-22475: Github Actions to build (cpp-client, python, csharp) on (Ubuntu 24.04, Windows) - #7970
Closed
kosak wants to merge 1 commit into
Conversation
kosak
requested review from
JamesXNelson,
devinrsmith,
jcferretti and
rcaudy
as code owners
April 30, 2026 23:07
Contributor
No docs changes detected for f7b3c95 |
kosak
force-pushed
the
kosak_build-linux-clients-gha2
branch
from
April 30, 2026 23:17
3a30d4a to
ac939fc
Compare
kosak
force-pushed
the
kosak_build-linux-clients-gha2
branch
from
May 22, 2026 02:42
e1836d1 to
a9be484
Compare
…hon ticking, C#} on {Ubuntu, Windows}
kosak
force-pushed
the
kosak_build-linux-clients-gha2
branch
from
May 22, 2026 02:44
a9be484 to
f7b3c95
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR causes the following builds to happen in Github Actions
The builds are performed by cmake/vcpkg. The C++ library dependencies are cached at Github Packages which uses the Nuget API. See comments for explanation.
The initial build (populating the library dependencies cache) takes a couple of hours because the runners are slow. Subsequent builds (with a populated cache) are fast.
Note also we introduce two new custom vcpkg triplets: and
x64-windows-releaseandx64-linux-dynamic-releasex64-windows-releaseconfigures the build of the dependencies to be release only. We don't waste time building debug versions of the dependencies.x64-linux-dynamic-releasedoes the same thing for Linux but also configures a build that does shared linking rather than the default static linking.Finally we add an action to
CmakeLists.txtthat copies the .so files to the installation directory. (Linux needs this; Windows already does the right thing)