Skip to content

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

Open
kosak wants to merge 1 commit intodeephaven:mainfrom
kosak:kosak_build-linux-clients-gha2
Open

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
kosak wants to merge 1 commit intodeephaven:mainfrom
kosak:kosak_build-linux-clients-gha2

Conversation

@kosak
Copy link
Copy Markdown
Contributor

@kosak kosak commented Apr 30, 2026

This PR causes the following builds to happen in Github Actions

  1. {cpp-client, python-static, python ticking} x {Windows, Ubuntu 24.04)
  2. csharp-client (any platform)

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-release and x64-linux-dynamic-release

x64-windows-release configures the build of the dependencies to be release only. We don't waste time building debug versions of the dependencies.

x64-linux-dynamic-release does 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.txt that copies the .so files to the installation directory. (Linux needs this; Windows already does the right thing)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

No docs changes detected for ac939fc

@kosak kosak added NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. labels Apr 30, 2026
…475: Github Actions to build (cpp-client, python, csharp) on (Ubuntu 24.04, Windows)
@kosak kosak force-pushed the kosak_build-linux-clients-gha2 branch from 3a30d4a to ac939fc Compare April 30, 2026 23:17
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