File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1227,7 +1227,7 @@ jobs:
1227
1227
1228
1228
windows_x64_build :
1229
1229
name : Windows x64
1230
- runs-on : " windows-latest "
1230
+ runs-on : " windows-2019 "
1231
1231
needs : prerequisites
1232
1232
if : needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_windows_x64 != 'false'
1233
1233
@@ -1307,12 +1307,19 @@ jobs:
1307
1307
path : ~/jtreg/
1308
1308
if : steps.jtreg_restore.outcome == 'failure'
1309
1309
1310
+ - name : Ensure a specific version of MSVC is installed
1311
+ run : >
1312
+ Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe' -Wait -NoNewWindow -ArgumentList
1313
+ 'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet
1314
+ --add Microsoft.VisualStudio.Component.VC.14.27.x86.x64'
1315
+
1310
1316
- name : Configure
1311
1317
run : >
1312
1318
$env:Path = "$HOME\cygwin\cygwin64\bin;$HOME\cygwin\cygwin64\bin;$env:Path" ;
1313
1319
$env:Path = $env:Path -split ";" -match "C:\\Windows|PowerShell|cygwin" -join ";" ;
1314
1320
& bash configure
1315
1321
--with-conf-name=windows-x64
1322
+ --with-msvc-toolset-version=14.27
1316
1323
${{ matrix.flags }}
1317
1324
--with-version-opt="$env:GITHUB_ACTOR-$env:GITHUB_SHA"
1318
1325
--with-version-build=0
@@ -1342,7 +1349,7 @@ jobs:
1342
1349
1343
1350
windows_x64_test :
1344
1351
name : Windows x64
1345
- runs-on : " windows-latest "
1352
+ runs-on : " windows-2019 "
1346
1353
needs :
1347
1354
- prerequisites
1348
1355
- windows_x64_build
You can’t perform that action at this time.
0 commit comments