Skip to content

create tgz artifacts for cpp sdk#846

Open
prathikr wants to merge 3 commits into
mainfrom
prathikrao/cpp-tgz-artifacts
Open

create tgz artifacts for cpp sdk#846
prathikr wants to merge 3 commits into
mainfrom
prathikrao/cpp-tgz-artifacts

Conversation

@prathikr

@prathikr prathikr commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

creates cpp-sdk-v2 artifact with the tgz files per-platform

Copilot AI review requested due to automatic review settings June 29, 2026 17:52
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 29, 2026 8:40pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml PowerShell template that assembles and tar-gzips per-RID bundles.
  • New cpp_pack_sdk_v2 stage in stages-build-native.yml that downloads native + include artifacts and publishes cpp-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).

Comment thread .pipelines/v2/templates/steps-pack-cpp-sdk.yml
Comment thread .pipelines/v2/templates/stages-build-native.yml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants