summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-09-20 18:56:42 (GMT)
committerGitHub <noreply@github.com>2023-09-20 18:56:42 (GMT)
commit14cdefa667f211401c9dfab33c4695e80b4e5e95 (patch)
treeb792a7ae02a60fdc1fc404302f8b9166d67b4bfb /.github
parentef6d475db3af4d30a3104fa6301dcd36c71eacab (diff)
downloadcpython-14cdefa667f211401c9dfab33c4695e80b4e5e95.zip
cpython-14cdefa667f211401c9dfab33c4695e80b4e5e95.tar.gz
cpython-14cdefa667f211401c9dfab33c4695e80b4e5e95.tar.bz2
gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (#109569)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cbe5c84..7f9d0f4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -118,6 +118,8 @@ jobs:
path: config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
- uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Add ccache to PATH
@@ -201,6 +203,21 @@ jobs:
- name: Tests
run: .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
+ build_win_arm64:
+ name: 'Windows (arm64)'
+ runs-on: windows-latest
+ timeout-minutes: 60
+ needs: check_source
+ if: needs.check_source.outputs.run_tests == 'true'
+ env:
+ IncludeUwp: 'true'
+ steps:
+ - uses: actions/checkout@v4
+ - name: Register MSVC problem matcher
+ run: echo "::add-matcher::.github/problem-matchers/msvc.json"
+ - name: Build CPython
+ run: .\PCbuild\build.bat -e -d -p arm64
+
build_macos:
name: 'macOS'
runs-on: macos-latest
@@ -530,6 +547,7 @@ jobs:
- check_generated_files
- build_win32
- build_win_amd64
+ - build_win_arm64
- build_macos
- build_ubuntu
- build_ubuntu_ssltests
@@ -546,6 +564,7 @@ jobs:
build_macos,
build_ubuntu_ssltests,
build_win32,
+ build_win_arm64,
test_hypothesis,
allowed-skips: >-
${{
@@ -561,6 +580,7 @@ jobs:
check_generated_files,
build_win32,
build_win_amd64,
+ build_win_arm64,
build_macos,
build_ubuntu,
build_ubuntu_ssltests,