Skip to content

Commit c0a1bd0

Browse files
authored
jenkins,doc: update supported Visual Studio for v21 (#3484)
Refs: nodejs/node#49051
1 parent 319fd54 commit c0a1bd0

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

doc/windows-visualstudio-supported-versions.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,47 +10,41 @@ Supported versions for running the Node.js installer and executable as released.
1010

1111
| Node.js Version | Windows Version |
1212
|-----------------|----------------------------|
13-
| v16 | 10 / 2012 R2 |
1413
| v18 | 10 / 2016 |
15-
| v19 | 10 / 2016 |
1614
| v20 | 10 / 2016 |
15+
| v21 | 10 / 2016 |
1716

1817
## For building Node.js Core
1918

2019
Supported versions for building Node.js from source.
2120

2221
| Node.js Version | Visual Studio Version |
2322
|-----------------|-------------------------------------|
24-
| v16 | 2019 <sup>[1]</sup> |
2523
| v18 | 2019 |
26-
| v19 | 2019 |
2724
| v20 | 2019 |
25+
| v21 | 2022 |
2826

2927
## For building Node.js Addons
3028

3129
Supported versions for building Node.js addons. End-users should have one of these installed for building native modules.
3230

3331
| Node.js Version | Visual Studio Version |
3432
|-----------------|-------------------------------------------|
35-
| v16 | 2015, VCBT2015, 2017, 2019 |
3633
| v18 | 2015, VCBT2015, 2017, 2019 |
37-
| v19 | 2017, 2019 <sup>[2]</sup> |
38-
| v20 | 2017, 2019 <sup>[2]</sup> |
34+
| v20 | 2017, 2019 <sup>[1]</sup> |
35+
| v21 | 2017, 2019, 2022 <sup>[1]</sup> |
3936

4037
## Official Releases
4138

4239
These versions are used to build the official releases.
4340

4441
| Node.js Version | Windows Version | Visual Studio Version |
4542
|-----------------|-----------------|-----------------------|
46-
| v16 | 2012 R2 | 2019 |
4743
| v18 | 2012 R2 | 2019 |
48-
| v19 | 2012 R2 | 2019 |
4944
| v20 | 2012 R2 | 2019 |
45+
| v21 | 2022 | 2022 |
5046

5147
## References
5248

53-
1. Support for Visual Studio 2017 was removed in v15.0.0.
54-
- Pull Request: https://github.com/nodejs/node/pull/33694
55-
2. Support for building addons with Visual Studio 2015 was removed in v19.0.0.
49+
1. Support for building addons with Visual Studio 2015 was removed in v19.0.0.
5650
- Pull Request: https://github.com/nodejs/node-gyp/pull/2746

jenkins/scripts/VersionSelectorScript.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ def buildExclusions = [
5050
[ /vs2015/, releaseType, gte(16) ],
5151
[ /vs2017/, releaseType, gte(16) ],
5252
[ /vs2019-arm64/, releaseType, lt(20) ],
53+
[ /vs2019/, releaseType, gte(21) ],
54+
[ /vs2022/, releaseType, lt(21) ],
5355
// VS versions supported to compile Node.js - also matches labels used by test runners
5456
[ /vs2015(-\w+)?$/, testType, gte(16) ],
5557
[ /vs2017(-\w+)?$/, testType, gte(16) ],
58+
[ /vs2019/, testType, gte(21) ],
5659
[ /vs2022(-\w+)?$/, testType, lt(20) ], // Temporarily compile Node v20+ on both VS2019 and VS2022
5760
[ /vs2022-x86$/, testType, lt(20) ], // Temporarily compile Node v20+ arm64 and x86 on both VS2019 and VS2022
5861
[ /vs2022-arm64$/, testType, lt(20) ],

0 commit comments

Comments
 (0)