Skip to content

Commit 9fb33fd

Browse files
committed
Try switching to VC2022
1 parent e201601 commit 9fb33fd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ jobs:
6767

6868
needs: pythonbuild
6969
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'
7370
steps:
7471
- uses: actions/checkout@v4
7572
with:
@@ -99,7 +96,7 @@ jobs:
9996
- name: Build
10097
shell: cmd
10198
run: |
102-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
99+
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
103100
py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.options }}
104101
105102
- name: Validate Distribution

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ def main() -> None:
18971897
parser.add_argument(
18981898
"--vs",
18991899
choices={"2019", "2022"},
1900-
default="2019",
1900+
default="2022",
19011901
help="Visual Studio version to use",
19021902
)
19031903
parser.add_argument(

0 commit comments

Comments
 (0)