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
Conversation
Contributor
No docs changes detected for ac939fc |
…475: Github Actions to build (cpp-client, python, csharp) on (Ubuntu 24.04, Windows)
3a30d4a to
ac939fc
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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)