implement ADO packaging pipeline for FLC & SDK#552
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
baijumeswani
previously approved these changes
Mar 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an Azure DevOps (1ES) packaging pipeline that builds Foundry Local Core (from neutron-server), then uses the produced Core NuGet to build/test/package the C# and JS SDKs in this repo (including signing).
Changes:
- Introduces a new
foundry-local-packaging.ymlpipeline orchestrating Core build, Core NuGet packaging, and SDK builds. - Adds reusable templates for building Core per-RID, packaging the Core NuGet, and building/packing the C# and JS SDKs.
- Integrates ESRP signing for produced NuGet artifacts (Core + C# SDK).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
.pipelines/foundry-local-packaging.yml |
Orchestrates multi-stage ADO pipeline for Core + SDK packaging. |
.pipelines/templates/build-core-steps.yml |
Builds/publishes per-platform Core native AOT binaries and stages them as artifacts. |
.pipelines/templates/package-core-steps.yml |
Collects per-platform Core artifacts into NuGet layout, then packs/signs the Core NuGet. |
.pipelines/templates/build-cs-steps.yml |
Restores/builds/tests/signs/packs the C# SDK using the locally built Core package. |
.pipelines/templates/build-js-steps.yml |
Builds/tests/packs the JS SDK and overwrites installed Core binaries from the locally built Core NuGet. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 17 commits
March 27, 2026 14:53
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 17 out of 17 changed files in this pull request and generated 13 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Foundry Local Packaging Pipeline
Summary
This PR introduces the Foundry Local Packaging Pipeline, a unified ADO pipeline that builds, signs, and tests Foundry Local Core (FLC) for all platforms, packages it as NuGet and Python wheels, then builds, signs, and tests the C#, JS, Python, and Rust SDKs — for both standard and WinML variants.
Pipeline stages:
Produced artifacts:
flc-nuget,flc-nuget-winml,flc-wheels,flc-wheels-winml,cs-sdk,cs-sdk-winml,js-sdk,js-sdk-winml,python-sdk,python-sdk-winml,rust-sdk,rust-sdk-winmlSDK Changes:
foundry-local-core,onnxruntime,onnxruntime-genaiTest coverage
All SDK tests currently run on win-x64 only. Additional platform test jobs are blocked on infrastructure:
TODOs are tracked in the pipeline YAML for each.
Build strategy
All FLC builds (including win-arm64 and osx-arm64) run on x64 machines because .NET Native AOT supports cross-compilation. The win-arm64 build cross-compiles from x64 Windows — see Cross-compilation docs. Linux builds run on its own respective x64 hosted image.
Origin
neutron-server/.pipelines/FoundryLocalCore/Foundry-Local/.github/