File tree Expand file tree Collapse file tree 5 files changed +51
-69
lines changed Expand file tree Collapse file tree 5 files changed +51
-69
lines changed Original file line number Diff line number Diff line change @@ -178,23 +178,10 @@ jobs:
178
178
if : github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
179
179
run : make check-c-globals
180
180
181
- build_win32 :
182
- name : ' Windows (x86)'
181
+ build_win :
183
182
needs : check_source
184
183
if : needs.check_source.outputs.run_tests == 'true'
185
- uses : ./.github/workflows/reusable-build-win-32.yml
186
-
187
- build_win_amd64 :
188
- name : ' Windows (x64)'
189
- needs : check_source
190
- if : needs.check_source.outputs.run_tests == 'true'
191
- uses : ./.github/workflows/reusable-build-win-amd64.yml
192
-
193
- build_win_arm64 :
194
- name : ' Windows (arm64)'
195
- needs : check_source
196
- if : needs.check_source.outputs.run_tests == 'true'
197
- uses : ./.github/workflows/reusable-build-win-arm64.yml
184
+ uses : ./.github/workflows/reusable-build-win.yml
198
185
199
186
build_macos :
200
187
name : ' macOS'
@@ -544,9 +531,7 @@ jobs:
544
531
- check_source # Transitive dependency, needed to access `run_tests` value
545
532
- check-docs
546
533
- check_generated_files
547
- - build_win32
548
- - build_win_amd64
549
- - build_win_arm64
534
+ - build_win
550
535
- build_macos
551
536
- build_ubuntu
552
537
- build_ubuntu_ssltests
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_call :
3
+
4
+ jobs :
5
+ build_win_32 :
6
+ name : ' Windows (x86)'
7
+ runs-on : windows-latest
8
+ timeout-minutes : 60
9
+ env :
10
+ IncludeUwp : ' true'
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Build CPython
14
+ run : .\PCbuild\build.bat -e -d -p Win32
15
+ - name : Display build info
16
+ run : .\python.bat -m test.pythoninfo
17
+ - name : Tests
18
+ run : .\PCbuild\rt.bat -p Win32 -d -q --fast-ci
19
+
20
+ build_win_amd64 :
21
+ name : ' Windows (x64)'
22
+ runs-on : windows-latest
23
+ timeout-minutes : 60
24
+ env :
25
+ IncludeUwp : ' true'
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ - name : Register MSVC problem matcher
29
+ run : echo "::add-matcher::.github/problem-matchers/msvc.json"
30
+ - name : Build CPython
31
+ run : .\PCbuild\build.bat -e -d -p x64
32
+ - name : Display build info
33
+ run : .\python.bat -m test.pythoninfo
34
+ - name : Tests
35
+ run : .\PCbuild\rt.bat -p x64 -d -q --fast-ci
36
+
37
+ build_win_arm64 :
38
+ name : ' Windows (arm64)'
39
+ runs-on : windows-latest
40
+ timeout-minutes : 60
41
+ env :
42
+ IncludeUwp : ' true'
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - name : Register MSVC problem matcher
46
+ run : echo "::add-matcher::.github/problem-matchers/msvc.json"
47
+ - name : Build CPython
48
+ run : .\PCbuild\build.bat -e -d -p arm64
You can’t perform that action at this time.
0 commit comments