How to use a specific version of MSVC in GitHub Actions
blog.ganets.ky·1d·
Discuss: Hacker News
🔨Build Systems
Preview
Report Post

2025-12-24

Alright, I’m not breaking new ground here, but this is a difficulty I’ve had. Maybe it’s a difficulty you’ve had too. It’s not common, but if you want to test your code with a particular version of MSVC, it’s fairly tricky and finicky. Before taking the time to do all this described below, I’ve never had success with running multiple versions of MSVC with GitHub Actions.

GitHub Actions used to have multiple versions of Visual Studio build tools installed on their Windows runners, but this was removed in May 2024. Instead, only the latest build tools are present, so we must find a way to install that specific version of MSVC ourselves.

After figuring out the process and starting to write this article, I found [setup…

Similar Posts

Loading similar posts...