File tree 2 files changed +20
-31
lines changed
2 files changed +20
-31
lines changed Original file line number Diff line number Diff line change 26
26
27
27
steps :
28
28
- template : ./posix-steps.yml
29
-
30
-
31
- - job : Windows_PR_Tests
32
- displayName : Windows PR Tests
33
- dependsOn : Prebuild
34
- condition : and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
35
-
36
- pool :
37
- vmImage : windows-2022
38
-
39
- strategy :
40
- matrix :
41
- win32 :
42
- arch : win32
43
- buildOpt : ' -p Win32'
44
- testRunTitle : ' $(System.PullRequest.TargetBranch)-win32'
45
- testRunPlatform : win32
46
- win64 :
47
- arch : amd64
48
- buildOpt : ' -p x64'
49
- testRunTitle : ' $(System.PullRequest.TargetBranch)-win64'
50
- testRunPlatform : win64
51
- winarm64 :
52
- arch : arm64
53
- buildOpt : ' -p arm64'
54
- maxParallel : 4
55
-
56
- steps :
57
- - template : ./windows-steps.yml
58
- parameters :
59
- targetBranch : $(System.PullRequest.TargetBranch)
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ jobs:
150
150
path : config.cache
151
151
key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
152
152
- uses : actions/setup-python@v4
153
+ with :
154
+ python-version : ' 3.x'
153
155
- name : Install Dependencies
154
156
run : sudo ./.github/workflows/posix-deps-apt.sh
155
157
- name : Add ccache to PATH
@@ -230,6 +232,21 @@ jobs:
230
232
- name : Tests
231
233
run : .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
232
234
235
+ build_win_arm64 :
236
+ name : ' Windows (arm64)'
237
+ runs-on : windows-latest
238
+ timeout-minutes : 60
239
+ needs : check_source
240
+ if : needs.check_source.outputs.run_tests == 'true'
241
+ env :
242
+ IncludeUwp : ' true'
243
+ steps :
244
+ - uses : actions/checkout@v4
245
+ - name : Register MSVC problem matcher
246
+ run : echo "::add-matcher::.github/problem-matchers/msvc.json"
247
+ - name : Build CPython
248
+ run : .\PCbuild\build.bat -e -d -p arm64
249
+
233
250
build_macos :
234
251
name : ' macOS'
235
252
runs-on : macos-latest
@@ -450,6 +467,7 @@ jobs:
450
467
- check_generated_files
451
468
- build_win32
452
469
- build_win_amd64
470
+ - build_win_arm64
453
471
- build_macos
454
472
- build_ubuntu
455
473
- build_ubuntu_ssltests
@@ -465,6 +483,7 @@ jobs:
465
483
build_macos,
466
484
build_ubuntu_ssltests,
467
485
build_win32,
486
+ build_win_arm64,
468
487
allowed-skips : >-
469
488
${{
470
489
!fromJSON(needs.check_source.outputs.run-docs)
@@ -479,6 +498,7 @@ jobs:
479
498
check_generated_files,
480
499
build_win32,
481
500
build_win_amd64,
501
+ build_win_arm64,
482
502
build_macos,
483
503
build_ubuntu,
484
504
build_ubuntu_ssltests,
You can’t perform that action at this time.
0 commit comments