mirror of
https://github.com/python/cpython
synced 2024-09-15 23:57:10 +00:00
Generalize build_msi GitHub action (GH-94201)
This commit is contained in:
parent
bc7f6fcdf1
commit
5c5fc9da3f
37
.github/workflows/build_msi.yml
vendored
37
.github/workflows/build_msi.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue