Skip to content

Conversation

@krishnakumar4a4
Copy link
Contributor

@krishnakumar4a4 krishnakumar4a4 commented Aug 19, 2025

This pull request updates the CI workflow configuration files to improve platform and toolchain support, increase flexibility, and ensure compatibility with newer runners and tool versions. The changes mainly focus on refactoring matrix definitions, updating runner platforms, and refining environment variable usage across build, lint, formatting, and documentation workflows.

Platform and matrix configuration improvements:

  • Refactored all workflow matrix definitions (build.yaml, lint.yaml, docs.yaml) to explicitly specify runner (windows-latest, windows-11-arm) and architecture (amd64, arm64), allowing jobs to run on both x64 and ARM Windows runners. [1] [2] [3]
  • Updated target triples in matrix definitions to include both name and architecture, improving clarity and enabling more granular control over build and test targets. [1] [2]

Toolchain and environment variable updates:

  • Changed WDK matrix entries to objects with version and source fields, and updated installation steps to use these fields, allowing selection between Winget and NuGet sources for different WDK versions. Also added logic to pass host and target architecture when using NuGet. [1] [2] [3]
  • Updated Rust toolchain installation steps to use the new matrix structure, and changed Rust target specification to use the new target triple name field. [1] [2]

Runner platform standardization:

  • Replaced windows-2025 with windows-latest for all jobs in formatting, lint, and audit workflows to ensure compatibility with currently supported GitHub-hosted runners. [1] [2] [3] [4]

Workflow logic enhancements:

  • Added conditional logic to documentation and lint jobs to avoid duplicate runs on the same runner and architecture, improving CI efficiency.
  • Enabled the fail-fast: false strategy in build, lint, and docs workflows to allow all matrix variants to complete even if some fail, improving visibility into failures across platforms. [1] [2] [3]

@krishnakumar4a4 krishnakumar4a4 linked an issue Aug 19, 2025 that may be closed by this pull request
@krishnakumar4a4 krishnakumar4a4 force-pushed the 43-arm-runners-for-samples-repo-ci-pipeline branch 2 times, most recently from 1640541 to cb8fa04 Compare August 19, 2025 03:51
@krishnakumar4a4 krishnakumar4a4 force-pushed the 43-arm-runners-for-samples-repo-ci-pipeline branch from 9e0eacd to 238cd7e Compare December 11, 2025 03:25
@krishnakumar4a4 krishnakumar4a4 force-pushed the 43-arm-runners-for-samples-repo-ci-pipeline branch from 4c58cbf to f83510a Compare December 11, 2025 12:32
@krishnakumar4a4 krishnakumar4a4 changed the title ci: adopt arm64 changes from WDR as-is ci: adopt Nuget and arm64 changes from WDR Dec 11, 2025
@krishnakumar4a4 krishnakumar4a4 changed the title ci: adopt Nuget and arm64 changes from WDR ci: adopt Nuget and Arm64 changes from WDR Dec 11, 2025
@krishnakumar4a4 krishnakumar4a4 marked this pull request as ready for review December 11, 2025 13:14
@gurry gurry merged commit ba6ed83 into microsoft:main Dec 12, 2025
196 of 198 checks passed
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.

Arm runners for samples repo CI pipeline

3 participants