aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-06-28 12:33:23 +0300
committerGitHub <noreply@github.com>2022-06-28 11:33:23 +0200
commit5c5fc9da3f91ac09f7f00ac644071cd5efb2eafe (patch)
treee200606b657de8df9fb334f39473c50b44735d17 /.github
parentgh-86404: [doc] Fix missing space in idle documentation. (GH-94366) (diff)
downloadcpython-5c5fc9da3f91ac09f7f00ac644071cd5efb2eafe.tar.gz
cpython-5c5fc9da3f91ac09f7f00ac644071cd5efb2eafe.tar.bz2
cpython-5c5fc9da3f91ac09f7f00ac644071cd5efb2eafe.zip
Generalize build_msi GitHub action (GH-94201)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_msi.yml37
1 files changed, 8 insertions, 29 deletions
diff --git a/.github/workflows/build_msi.yml b/.github/workflows/build_msi.yml
index 6044ae0f7c2..528679c0ac6 100644
--- a/.github/workflows/build_msi.yml
+++ b/.github/workflows/build_msi.yml
@@ -5,21 +5,13 @@ on:
push:
branches:
- 'main'
- - '3.11'
- - '3.10'
- - '3.9'
- - '3.8'
- - '3.7'
+ - '3.*'
paths:
- 'Tools/msi/**'
pull_request:
branches:
- 'main'
- - '3.11'
- - '3.10'
- - '3.9'
- - '3.8'
- - '3.7'
+ - '3.*'
paths:
- 'Tools/msi/**'
@@ -27,26 +19,13 @@ permissions:
contents: read
jobs:
- build_win32:
- name: 'Windows (x86) Installer'
+ build:
+ name: Windows Installer
runs-on: windows-latest
+ strategy:
+ matrix:
+ type: [x86, x64, arm64]
steps:
- uses: actions/checkout@v3
- name: Build CPython installer
- run: .\Tools\msi\build.bat -x86
-
- build_win_amd64:
- name: 'Windows (x64) Installer'
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v3
- - name: Build CPython installer
- run: .\Tools\msi\build.bat -x64
-
- build_win_arm64:
- name: 'Windows (ARM64) Installer'
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v3
- - name: Build CPython installer
- run: .\Tools\msi\build.bat -arm64
+ run: .\Tools\msi\build.bat -${{ matrix.type }}