Skip to content

ci(tests): add msvc@system leg on Windows and pin MSVC via setup-msvc-dev - #16

Open
ZheFeng7110 wants to merge 7 commits into
mcpplibs:mainfrom
ZheFeng7110:ci/windows-msvc-system
Open

ZheFeng7110 wants to merge 7 commits into
mcpplibs:mainfrom
ZheFeng7110:ci/windows-msvc-system

Conversation

@ZheFeng7110

Copy link
Copy Markdown
Collaborator

Summary

Add msvc@system (windows-msvc, x86_64) to the Build and Tests workflow (test groups A/B and examples), and pin the MSVC developer environment on Windows runners via TheMrMilchmann/setup-msvc-dev@v4.

Changes

  • .github/workflows/tests.yml:
    • Pin MSVC environment on windows-latest using TheMrMilchmann/setup-msvc-dev@v4 (arch: x64, toolset: "14.52", sdk: "10.0.26100.0" — the latest MSVC toolset and Windows SDK versions on current Windows Server 2025 / Visual Studio 2026 runners).
    • Add windows-msvc (msvc@system, x86_64) matrix entries to both test (groups A and B) and examples jobs.
    • Skip mcpp toolchain install when install is empty (msvc@system uses the host Visual Studio installation and is selected via mcpp toolchain default "msvc@system").
    • Include the pinned MSVC_TOOLSET and WINDOWS_SDK versions in the msvc@system sandbox cache key so toolchain or SDK bumps roll the cache cleanly.

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.

1 participant