Skip to content

Commit

Permalink
Generalize build_msi GitHub action (GH-94201)
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev authored Jun 28, 2022
1 parent bc7f6fc commit 5c5fc9d
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions .github/workflows/build_msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,27 @@ 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/**'

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 }}

0 comments on commit 5c5fc9d

Please sign in to comment.