File tree 5 files changed +42
-22
lines changed
5 files changed +42
-22
lines changed Original file line number Diff line number Diff line change
1
+ self-hosted-runner :
2
+ labels : ["ubuntu-24.04-aarch64", "windows-aarch64"]
3
+
4
+ config-variables : null
5
+
6
+ paths :
7
+ .github/workflows/**/*.yml :
8
+ ignore :
9
+ - 1st argument of function call is not assignable
10
+ - SC2(015|038|086|091|097|098|129|155)
Original file line number Diff line number Diff line change @@ -150,16 +150,28 @@ jobs:
150
150
needs : check_source
151
151
if : fromJSON(needs.check_source.outputs.run_tests)
152
152
strategy :
153
+ fail-fast : false
153
154
matrix :
155
+ os :
156
+ - windows-latest
154
157
arch :
155
- - Win32
156
- - x64
157
- - arm64
158
+ - x64
158
159
free-threading :
159
- - false
160
- - true
160
+ - false
161
+ - true
162
+ include :
163
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
164
+ arch : arm64
165
+ free-threading : false
166
+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
167
+ arch : arm64
168
+ free-threading : true
169
+ - os : windows-latest
170
+ arch : Win32
171
+ free-threading : false
161
172
uses : ./.github/workflows/reusable-windows.yml
162
173
with :
174
+ os : ${{ matrix.os }}
163
175
arch : ${{ matrix.arch }}
164
176
free-threading : ${{ matrix.free-threading }}
165
177
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
@@ -82,11 +82,11 @@ jobs:
82
82
- name : Build CPython out-of-tree
83
83
if : ${{ inputs.free-threading }}
84
84
working-directory : ${{ env.CPYTHON_BUILDDIR }}
85
- run : make -j4
85
+ run : make -j
86
86
- name : Build CPython out-of-tree (for compiler warning check)
87
87
if : ${{ !inputs.free-threading}}
88
88
working-directory : ${{ env.CPYTHON_BUILDDIR }}
89
- run : set -o pipefail; make -j4 --output-sync 2>&1 | tee compiler_output_ubuntu.txt
89
+ run : set -o pipefail; make -j --output-sync 2>&1 | tee compiler_output_ubuntu.txt
90
90
- name : Display build info
91
91
working-directory : ${{ env.CPYTHON_BUILDDIR }}
92
92
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' || '' }}
Original file line number Diff line number Diff line change @@ -57,13 +57,9 @@ repos:
57
57
- id : check-github-workflows
58
58
59
59
- repo : https://github.com/rhysd/actionlint
60
- rev : v1.7.3
60
+ rev : v1.7.4
61
61
hooks :
62
62
- id : actionlint
63
- args : [
64
- -ignore=1st argument of function call is not assignable,
65
- -ignore=SC2(015|038|086|091|097|098|129|155),
66
- ]
67
63
68
64
- repo : https://github.com/sphinx-contrib/sphinx-lint
69
65
rev : v1.0.0
You can’t perform that action at this time.
0 commit comments