File tree Expand file tree Collapse file tree 2 files changed +20
-31
lines changed Expand file tree Collapse file tree 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 @@ -161,6 +161,8 @@ jobs:
161
161
path : config.cache
162
162
key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
163
163
- uses : actions/setup-python@v4
164
+ with :
165
+ python-version : ' 3.x'
164
166
- name : Install Dependencies
165
167
run : sudo ./.github/workflows/posix-deps-apt.sh
166
168
- name : Add ccache to PATH
@@ -244,6 +246,21 @@ jobs:
244
246
- name : Tests
245
247
run : .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
246
248
249
+ build_win_arm64 :
250
+ name : ' Windows (arm64)'
251
+ runs-on : windows-latest
252
+ timeout-minutes : 60
253
+ needs : check_source
254
+ if : needs.check_source.outputs.run_tests == 'true'
255
+ env :
256
+ IncludeUwp : ' true'
257
+ steps :
258
+ - uses : actions/checkout@v4
259
+ - name : Register MSVC problem matcher
260
+ run : echo "::add-matcher::.github/problem-matchers/msvc.json"
261
+ - name : Build CPython
262
+ run : .\PCbuild\build.bat -e -d -p arm64
263
+
247
264
build_macos :
248
265
name : ' macOS'
249
266
runs-on : macos-latest
@@ -573,6 +590,7 @@ jobs:
573
590
- check_generated_files
574
591
- build_win32
575
592
- build_win_amd64
593
+ - build_win_arm64
576
594
- build_macos
577
595
- build_ubuntu
578
596
- build_ubuntu_ssltests
@@ -589,6 +607,7 @@ jobs:
589
607
build_macos,
590
608
build_ubuntu_ssltests,
591
609
build_win32,
610
+ build_win_arm64,
592
611
test_hypothesis,
593
612
allowed-skips : >-
594
613
${{
@@ -604,6 +623,7 @@ jobs:
604
623
check_generated_files,
605
624
build_win32,
606
625
build_win_amd64,
626
+ build_win_arm64,
607
627
build_macos,
608
628
build_ubuntu,
609
629
build_ubuntu_ssltests,
You can’t perform that action at this time.
0 commit comments