Skip to content

Commit 585d3e3

Browse files
.github/workflows/build_wheels.yml: install python-3.12 on windows.
Seems to be necessary at the moment, depending on what runner we get.
1 parent 2928529 commit 585d3e3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build_wheels.yml

+15
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,21 @@ jobs:
8383

8484
- uses: actions/checkout@v2
8585

86+
# Get Python 3.12 x32 and x64 on Windows. (As of 2023-10-12 these are not
87+
# always available by default.)
88+
#
89+
- name: Install Python 3.12 x32 on Windows.
90+
if: runner.os == 'Windows'
91+
uses: actions/setup-python@v2
92+
with:
93+
python-version: '3.12'
94+
architecture: x86
95+
- name: Install Python 3.12 x64 on Windows.
96+
if: runner.os == 'Windows'
97+
uses: actions/setup-python@v2
98+
with:
99+
python-version: '3.12'
100+
86101
# Get Python for running cibuildwheel. This also ensures that 'python'
87102
# works on MacOS, where it seems only 'python3' is available by default.
88103
#

0 commit comments

Comments
 (0)