Add windows-2025 GitHub runner support for builds and tests #5325
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.
This PR adds comprehensive support for GitHub's new
windows-2025
runners across the MSQuic CI/CD pipeline, enabling builds and tests to run on the latest Windows environment.Overview
GitHub recently introduced
windows-2025
runner images, and this change updates our workflows to utilize these new runners while maintaining backward compatibility with existingwindows-2022
runners.Changes Made
Build Workflows:
build.yml
to includewindows-2025
in the build matrix alongsidewindows-2022
for both regular and official buildsstress.yml
withwindows-2025
configurations for stress testing builds and executiondotnet-test.yml
support for .NET interop testing onwindows-2025
Supporting Workflows:
plugins.yml
) for both WinDbg extensions and QuicTracewan-perf.yml
,netperf.yml
) towindows-2025
check-clog.yml
,check-dotnet.yml
)cargo.yml
) to usewindows-2025
Technical Approach
The implementation adds
windows-2025
as additional matrix options rather than replacingwindows-2022
, ensuring:Exceptions
Some workflows intentionally remain on
windows-2022
:windows-2025
doesn't currently support kernel driver developmentValidation
All modified YAML workflow files have been validated for syntax correctness, and the changes maintain full backward compatibility while extending support to the new runner environment.
Fixes #5242.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.