File tree 3 files changed +30
-16
lines changed
3 files changed +30
-16
lines changed Original file line number Diff line number Diff line change @@ -193,16 +193,28 @@ jobs:
193
193
needs : check_source
194
194
if : fromJSON(needs.check_source.outputs.run_tests)
195
195
strategy :
196
+ fail-fast : false
196
197
matrix :
198
+ os :
199
+ - windows-latest
197
200
arch :
198
- - Win32
199
- - x64
200
- - arm64
201
+ - x64
201
202
free-threading :
202
- - false
203
- - true
203
+ - false
204
+ - true
205
+ include :
206
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
207
+ arch : arm64
208
+ free-threading : false
209
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
210
+ arch : arm64
211
+ free-threading : true
212
+ - os : windows-latest
213
+ arch : Win32
214
+ free-threading : false
204
215
uses : ./.github/workflows/reusable-windows.yml
205
216
with :
217
+ os : ${{ matrix.os }}
206
218
arch : ${{ matrix.arch }}
207
219
free-threading : ${{ matrix.free-threading }}
208
220
Original file line number Diff line number Diff line change 20
20
strategy :
21
21
fail-fast : false
22
22
matrix :
23
- os : [ubuntu-24.04]
23
+ os : [ubuntu-24.04, ubuntu-24.04-aarch64 ]
24
24
env :
25
25
FORCE_COLOR : 1
26
26
OPENSSL_VER : 3.0.15
79
79
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
80
80
- name : Build CPython out-of-tree
81
81
working-directory : ${{ env.CPYTHON_BUILDDIR }}
82
- run : make -j4
82
+ run : make -j
83
83
- name : Display build info
84
84
working-directory : ${{ env.CPYTHON_BUILDDIR }}
85
85
run : make pythoninfo
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Reusable Windows
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
+ os :
7
+ description : OS to run on
8
+ required : true
9
+ type : string
6
10
arch :
7
11
description : CPU architecture
8
12
required : true
19
23
20
24
jobs :
21
25
build :
22
- name : >-
23
- build${{ inputs.arch != 'arm64' && ' and test' || '' }}
24
- (${{ inputs.arch }})
25
- runs-on : windows-latest
26
+ name : ' build and test (${{ inputs.arch }})'
27
+ runs-on : ${{ inputs.os }}
26
28
timeout-minutes : 60
27
29
steps :
28
30
- uses : actions/checkout@v4
@@ -31,17 +33,17 @@ jobs:
31
33
run : echo "::add-matcher::.github/problem-matchers/msvc.json"
32
34
- name : Build CPython
33
35
run : >-
34
- .\PCbuild\build.bat
36
+ .\\ PCbuild\ \build.bat
35
37
-e -d -v
36
38
-p ${{ inputs.arch }}
37
39
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
38
- - name : Display build info
40
+ - name : Display build info # FIXME(diegorusso): remove the `if`
39
41
if : inputs.arch != 'arm64'
40
- run : .\python.bat -m test.pythoninfo
41
- - name : Tests
42
+ run : .\\ python.bat -m test.pythoninfo
43
+ - name : Tests # FIXME(diegorusso): remove the `if`
42
44
if : inputs.arch != 'arm64'
43
45
run : >-
44
- .\PCbuild\rt.bat
46
+ .\\ PCbuild\ \rt.bat
45
47
-p ${{ inputs.arch }}
46
48
-d -q --fast-ci
47
49
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
You can’t perform that action at this time.
0 commit comments