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 2626
2727 steps :
2828 - 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 @@ -118,6 +118,8 @@ jobs:
118118 path : config.cache
119119 key : ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
120120 - uses : actions/setup-python@v4
121+ with :
122+ python-version : ' 3.x'
121123 - name : Install Dependencies
122124 run : sudo ./.github/workflows/posix-deps-apt.sh
123125 - name : Add ccache to PATH
@@ -201,6 +203,21 @@ jobs:
201203 - name : Tests
202204 run : .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
203205
206+ build_win_arm64 :
207+ name : ' Windows (arm64)'
208+ runs-on : windows-latest
209+ timeout-minutes : 60
210+ needs : check_source
211+ if : needs.check_source.outputs.run_tests == 'true'
212+ env :
213+ IncludeUwp : ' true'
214+ steps :
215+ - uses : actions/checkout@v4
216+ - name : Register MSVC problem matcher
217+ run : echo "::add-matcher::.github/problem-matchers/msvc.json"
218+ - name : Build CPython
219+ run : .\PCbuild\build.bat -e -d -p arm64
220+
204221 build_macos :
205222 name : ' macOS'
206223 runs-on : macos-latest
@@ -530,6 +547,7 @@ jobs:
530547 - check_generated_files
531548 - build_win32
532549 - build_win_amd64
550+ - build_win_arm64
533551 - build_macos
534552 - build_ubuntu
535553 - build_ubuntu_ssltests
@@ -546,6 +564,7 @@ jobs:
546564 build_macos,
547565 build_ubuntu_ssltests,
548566 build_win32,
567+ build_win_arm64,
549568 test_hypothesis,
550569 allowed-skips : >-
551570 ${{
@@ -561,6 +580,7 @@ jobs:
561580 check_generated_files,
562581 build_win32,
563582 build_win_amd64,
583+ build_win_arm64,
564584 build_macos,
565585 build_ubuntu,
566586 build_ubuntu_ssltests,
You can’t perform that action at this time.
0 commit comments