Backport 6.0 | Use global.json in all pipeline jobs (#3927)#3959
Merged
mdaigle merged 4 commits intorelease/6.0from Feb 13, 2026
Merged
Backport 6.0 | Use global.json in all pipeline jobs (#3927)#3959mdaigle merged 4 commits intorelease/6.0from
mdaigle merged 4 commits intorelease/6.0from
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backport PR to standardize SDK selection across Azure DevOps pipelines by relying on global.json, introducing a shared install-dotnet pipeline template (including ARM64 handling), and updating related build/test pipeline templates and documentation accordingly.
Changes:
- Update
global.jsonSDK pinning and refactor pipeline jobs/templates to install SDK viauseGlobalJson. - Add shared
install-dotnet.ymltemplate plus an ARM64 PowerShell installer workaround. - Refresh pipeline test matrices (TFMs / ARM64 flag propagation) and update repo docs/config formatting.
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Microsoft.Data.SqlClient.sln | Adds test project entries to the solution. |
| global.json | Updates pinned SDK version and roll-forward settings; adds explanatory comments. |
| eng/pipelines/dotnet-sqlclient-ci-core.yml | Expands test TFMs, adds ARM64 config flag, and gates enclave jobs on fork state. |
| eng/pipelines/common/templates/steps/prepare-test-db-step.yml | Whitespace/formatting adjustment. |
| eng/pipelines/common/templates/steps/pre-build-step.yml | Switches to shared install-dotnet template; keeps env/service prep. |
| eng/pipelines/common/templates/steps/install-dotnet.yml | New shared template to install SDK (global.json) and requested runtimes. |
| eng/pipelines/common/templates/steps/install-dotnet-arm64.ps1 | New ARM64 installer script used by install-dotnet.yml. |
| eng/pipelines/common/templates/steps/ci-project-build-step.yml | Removes inline UseDotNet steps (assumes SDK installed earlier). |
| eng/pipelines/common/templates/steps/ci-prebuild-step.yml | Simplifies prebuild behavior, mainly for package builds. |
| eng/pipelines/common/templates/steps/build-all-configurations-signed-dlls-step.yml | Refactors signed build step to use shared SDK install. |
| eng/pipelines/common/templates/stages/ci-run-tests-stage.yml | Wires through ARM64 flag to jobs. |
| eng/pipelines/common/templates/jobs/ci-run-tests-job.yml | Installs SDK/runtimes per job (incl. ARM64/x86 paths) and tweaks job params. |
| eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml | Uses shared SDK install template; keeps coverage merge/report logic. |
| eng/pipelines/common/templates/jobs/ci-build-nugets-job.yml | Installs SDK before building; adds extra Release compile on Debug runs. |
| README.md | Updates links and reorganizes “Helpful Links” section. |
| BUILDGUIDE.md | Adds .NET SDK requirements guidance and formatting fixes. |
| .editorconfig | Minor whitespace fixes and adds formatting rules for bat/cmd/ps1. |
| .config/CredScanSuppressions.json | Formatting-only changes. |
eng/pipelines/common/templates/steps/build-all-configurations-signed-dlls-step.yml
Outdated
Show resolved
Hide resolved
mdaigle
approved these changes
Feb 13, 2026
cheenamalhotra
approved these changes
Feb 13, 2026
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.
Description
Backport of #3927:
Testing
The CI pipelines will validate these changes.