Skip to content

Commit b795b79

Browse files
committed
See if Windows works
1 parent 88d1838 commit b795b79

2 files changed

Lines changed: 18 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,22 @@ jobs:
151151
if: fromJSON(needs.check_source.outputs.run_tests)
152152
strategy:
153153
matrix:
154-
arch:
155-
- Win32
156-
- x64
157-
- arm64
158-
free-threading:
159-
- false
160-
- true
154+
include:
155+
- os: windows-latest
156+
arch: Win32
157+
free-threading: false
158+
- os: windows-latest
159+
arch: x64
160+
free-threading: false
161+
- os: windows-aarch64
162+
arch: arm64
163+
free-threading: false
164+
- os: windows-latest
165+
arch: x64
166+
free-threading: true
167+
- os: windows-aarch64
168+
arch: arm64
169+
free-threading: ture
161170
uses: ./.github/workflows/reusable-windows.yml
162171
with:
163172
arch: ${{ matrix.arch }}

.github/workflows/reusable-windows.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ env:
1919
2020
jobs:
2121
build:
22-
name: >-
23-
build${{ inputs.arch != 'arm64' && ' and test' || '' }}
24-
(${{ inputs.arch }})
25-
runs-on: windows-latest
22+
name: 'build and test'
23+
runs-on: ${{ matrix.os }}
2624
timeout-minutes: 60
2725
steps:
2826
- uses: actions/checkout@v4
@@ -36,10 +34,8 @@ jobs:
3634
-p ${{ inputs.arch }}
3735
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
3836
- name: Display build info
39-
if: inputs.arch != 'arm64'
4037
run: .\python.bat -m test.pythoninfo
4138
- name: Tests
42-
if: inputs.arch != 'arm64'
4339
run: >-
4440
.\PCbuild\rt.bat
4541
-p ${{ inputs.arch }}

0 commit comments

Comments
 (0)