Skip to content

Commit

Permalink
Use Python 3.12 to run builds on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Dec 20, 2024
1 parent 4a36797 commit 92171f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Download pythonbuild Executable
uses: actions/download-artifact@v4
Expand All @@ -117,14 +117,14 @@ jobs:
# don't get compiled properly.
- name: Bootstrap Python environment
run: |
py.exe -3.9 build-windows.py --help
py.exe -3.12 build-windows.py --help
- name: Build
if: ${{ ! matrix.dry-run }}
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
py.exe -3.9 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }}
py.exe -3.12 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }}
- name: Validate Distribution
if: ${{ ! matrix.dry-run }}
Expand Down

0 comments on commit 92171f7

Please sign in to comment.