Repository navigation
Move cross-AOT legs into shared SDK job matrix - #55479
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0cf84acb-d2e5-4370-9c9f-810695a6caeb
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Nice simplification! |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
This PR centralizes the cross-architecture NativeAOT (“AOT”) build legs inside the shared sdk-job-matrix template so that PR and CI pipelines consume the same AOT leg definitions without duplicating template invocations.
Changes:
- Added Windows (
win-arm64), Linux (linux-arm64viaazureLinuxCrossArm64), and macOS (osx-arm64) cross-AOT parameter sets toeng/pipelines/templates/jobs/sdk-job-matrix.yml. - Removed the standalone per-pipeline AOT matrix-template invocations from
.vsts-pr.ymland.vsts-ci.yml. - Dropped the explicit extended timeout previously used for the Linux arm64 AOT cross-build leg, relying on the shared job defaults.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/pipelines/templates/jobs/sdk-job-matrix.yml | Adds the cross-AOT legs to the shared OS job parameter set lists so they’re generated consistently wherever the template is used. |
| .vsts-pr.yml | Removes duplicated AOT leg template invocations; PR legs now come from the shared matrix definition. |
| .vsts-ci.yml | Removes duplicated conditional AOT leg invocations for internal PR/test builds; AOT legs now flow from the shared matrix. |
|
Looks like many legs failed due to
|
I don't know what is going on, I think those are from the run that was cancelled after marking this as ready for review. All of the jobs are currently running in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1528244&view=results. |
Use OS + architecture before category so jobs group by architecture and categories sort consistently within each group. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0cf84acb-d2e5-4370-9c9f-810695a6caeb

Summary
This change encapsulates the cross-architecture AOT legs in the shared
sdk-job-matrixinstead of defining those legs directly in the top-level CI/PR pipelines.Why
The AOT legs run on the same OS pools as the rest of the matrix jobs. Keeping those legs inside the shared matrix improves maintainability by removing duplicated leg definitions from
.vsts-ci.ymland.vsts-pr.yml.This also helps ensure CI and PR continue to run the same job legs because those legs now come from one shared definition.
What changed
eng/pipelines/templates/jobs/sdk-job-matrix.yml:win-arm64, build-only)linux-arm64viaazureLinuxCrossArm64, build-only)osx-arm64with cross-build).vsts-pr.yml.vsts-ci.yml