Skip to content

Commit

Permalink
.github/workflows/build_wheels.yml: install python-3.12 on windows.
Browse files Browse the repository at this point in the history
Seems to be necessary at the moment, depending on what runner we get.
  • Loading branch information
julian-smith-artifex-com committed Oct 12, 2023
1 parent 2928529 commit 585d3e3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,21 @@ jobs:

- uses: actions/checkout@v2

# Get Python 3.12 x32 and x64 on Windows. (As of 2023-10-12 these are not
# always available by default.)
#
- name: Install Python 3.12 x32 on Windows.
if: runner.os == 'Windows'
uses: actions/setup-python@v2
with:
python-version: '3.12'
architecture: x86
- name: Install Python 3.12 x64 on Windows.
if: runner.os == 'Windows'
uses: actions/setup-python@v2
with:
python-version: '3.12'

# Get Python for running cibuildwheel. This also ensures that 'python'
# works on MacOS, where it seems only 'python3' is available by default.
#
Expand Down

0 comments on commit 585d3e3

Please sign in to comment.