summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-09-22 13:26:58 (GMT)
committerGitHub <noreply@github.com>2023-09-22 13:26:58 (GMT)
commit92a347997ffd18862704571fdb5db25cefba4247 (patch)
treeb81817e989330d07dffab0d34d97d3409f8b68a7 /.github
parent5796d69b00a307fc60aa9c8a541e0ab14a640201 (diff)
downloadcpython-92a347997ffd18862704571fdb5db25cefba4247.zip
cpython-92a347997ffd18862704571fdb5db25cefba4247.tar.gz
cpython-92a347997ffd18862704571fdb5db25cefba4247.tar.bz2
[3.12] gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (GH-109569) (#109623)
gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (GH-109569) (cherry picked from commit 14cdefa667f211401c9dfab33c4695e80b4e5e95) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
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 feddecf..827df80 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -161,6 +161,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
@@ -244,6 +246,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
@@ -573,6 +590,7 @@ jobs:
- check_generated_files
- build_win32
- build_win_amd64
+ - build_win_arm64
- build_macos
- build_ubuntu
- build_ubuntu_ssltests
@@ -589,6 +607,7 @@ jobs:
build_macos,
build_ubuntu_ssltests,
build_win32,
+ build_win_arm64,
test_hypothesis,
allowed-skips: >-
${{
@@ -604,6 +623,7 @@ jobs:
check_generated_files,
build_win32,
build_win_amd64,
+ build_win_arm64,
build_macos,
build_ubuntu,
build_ubuntu_ssltests,