create tgz artifacts for cpp sdk#846
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR adds Azure Pipelines support for producing per-platform .tgz SDK bundles for the C++ SDK (v2). It introduces a new packaging step template and wires a new cpp_pack_sdk_v2 stage into the existing native build graph. Each bundle is laid out as include/ (public headers from the cpp-native-include artifact) plus lib/ (the platform native binaries), and the four archives (win-x64, win-arm64, linux-x64, osx-arm64) are published together as a new cpp-sdk-v2 pipeline artifact. This follows the existing v2 .tgz packaging pattern established by the JS SDK (js_pack) and reuses the same native artifacts already consumed by the NuGet pack stage.
Changes:
- New
steps-pack-cpp-sdk.ymlPowerShell template that assembles andtar-gzips per-RID bundles. - New
cpp_pack_sdk_v2stage instages-build-native.ymlthat downloads native + include artifacts and publishescpp-sdk-v2. - Bundles ship the DLL/PDB (Windows) and
.so/.dylib(Linux/macOS) alongside the public headers.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.pipelines/v2/templates/steps-pack-cpp-sdk.yml |
New template that copies headers + selected native binaries per RID and creates cpp-sdk-v2-<rid>.tgz. |
.pipelines/v2/templates/stages-build-native.yml |
Adds the cpp_pack_sdk_v2 stage (inputs: native + include artifacts; output: cpp-sdk-v2). |
creates
cpp-sdk-v2artifact with the tgz files per-platform