@@ -78,17 +78,21 @@ def buildExclusions = [
7878 [ / vcbt2015(-\w +)?$/ , testType, gte(10 ) ],
7979 [ / vs2017(-\w +)?$/ , testType, ltGte(8 , 15 ) ],
8080 [ / vs2019(-\w +)?$/ , testType, lt(13 ) ],
81+ [ / vs2022(-\w +)?$/ , testType, lt(20 ) ], // Temporarily compile Node v20+ on both VS2019 and VS2022
8182 [ / vs2015-x86$/ , testType, gte(10 ) ], // compile arm64/x86 only once
8283 [ / vs2017-x86$/ , testType, ltGte(10 , 14 ) ],
8384 [ / vs2019-x86$/ , testType, lt(14 ) ],
8485 [ / vs2019-arm64$/ , testType, lt(14 ) ],
86+ [ / vs2022-x86$/ , testType, lt(20 ) ], // Temporarily compile Node v20+ arm64 and x86 on both VS2019 and VS2022
87+ [ / vs2022-arm64$/ , testType, lt(20 ) ],
8588 [ / COMPILED_BY-\w +-arm64$/ , testType, lt(19 ) ], // run tests on arm64 for >=19
8689 // VS versions supported to build add-ons
8790 [ / vs2013-COMPILED_BY/ , testType, gte(9 ) ],
8891 [ / vs2015-COMPILED_BY/ , testType, gte(19 ) ],
8992 [ / vcbt2015-COMPILED_BY/ , testType, gte(19 ) ],
9093 [ / vs2017-COMPILED_BY/ , testType, lt(8 ) ],
9194 [ / vs2019-COMPILED_BY/ , testType, lt(12 ) ],
95+ [ / vs2022-COMPILED_BY/ , testType, lt(16 ) ],
9296 // Exclude some redundant configurations
9397 // https://github.com/nodejs/build/blob/main/doc/node-test-commit-matrix.md
9498 [ / win10.*COMPILED_BY-vs2017/ , testType, lt(10 ) ], // vcbt2015 runs on win10 for <10
0 commit comments