-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test on GitHub Actions windows-2025
image
#3116
base: main
Are you sure you want to change the base?
Conversation
a40c064
to
aa2aa3e
Compare
aa2aa3e
to
dce3aef
Compare
windows-2025
image
@@ -456,6 +457,8 @@ class VisualStudioFinder { | |||
return 'v142' | |||
} else if (versionYear === 2022) { | |||
return 'v143' | |||
} else if (versionYear === 2025) { | |||
return 'v143' // Fix this when Visual Studio 2025 ships |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is these VS 2025 changes required now? Shall we add these when VS 2025 is actually released?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests will fail on Windows 2025 without these mods because Windows 2025 currently ships with Visual Studio 2022.
That is probably a question for @StefanStojanovic. I am not a Windows user but if Windows 2025 is available on GitHub Actions, it will not be long before new issues are opened about using it. The great news is that it seems to work out-of-the box and in some tests is quite a bit faster. The only incompatibility appears in our integration tests because we are still many months away from having a Visual Studio 2025.
Note
Three lines will need to be changed when Visual Studio 2025 ships near the end of 2025.
.github/workflows/visual-studio.yml
-- One line.lib/find-visualstudio.js
-- Two lines.https://learn.microsoft.com/en-us/windows-server/get-started/windows-server-release-info
https://learn.microsoft.com/en-us/windows-server/get-started/whats-new-windows-server-2025
The normal GitHub Actions tests pass on Windows Server 2025 butvisual-studio/visual-studio (windows-2025, 2025)
fails with:Windows 2025 currently ships with Visual Studio 2022.
vswhere -latest -property installationPath
Checklist
npm install && npm run lint && npm test
passesDescription of change