File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 67
67
68
68
needs : pythonbuild
69
69
runs-on : ' windows-2019'
70
+ env :
71
+ # Workaround for https://github.com/actions/runner-images/issues/10819
72
+ VCToolsRedistDir : ' C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\14.29.30156'
70
73
steps :
71
74
- uses : actions/checkout@v4
72
75
with :
96
99
- name : Build
97
100
shell : cmd
98
101
run : |
99
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
100
- py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.options }}
102
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"isu py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.options }}
101
103
102
104
- name : Validate Distribution
103
105
run : |
Original file line number Diff line number Diff line change @@ -1424,6 +1424,16 @@ def build_cpython(
1424
1424
# The python.props file keys off MSBUILD, so it needs to be set.
1425
1425
os .environ ["MSBUILD" ] = str (msbuild )
1426
1426
1427
+ # Workaround for https://github.com/actions/runner-images/issues/10819
1428
+ if not os .environ .get ("VCToolsRedistDir" ):
1429
+ os .environ ["VCToolsRedistDir" ] = os .path .join (
1430
+ os .environ ["VCINSTALLDIR" ],
1431
+ "Redist" ,
1432
+ "MSVC" ,
1433
+ os .environ ["VCToolsVersion" ],
1434
+ "" ,
1435
+ )
1436
+
1427
1437
bzip2_archive = download_entry ("bzip2" , BUILD )
1428
1438
sqlite_archive = download_entry ("sqlite" , BUILD )
1429
1439
tk_bin_archive = download_entry (
You can’t perform that action at this time.
0 commit comments