mirror of
https://github.com/python/cpython.git
synced 2024-12-18 06:14:00 +08:00
75751f4aa5
* Auto-cancel old builds when new commit pushed to branch * Add a fallback Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Use the same group for all workflows. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
36 lines
615 B
YAML
36 lines
615 B
YAML
name: TestsMSI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- '3.*'
|
|
paths:
|
|
- 'Tools/msi/**'
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- '3.*'
|
|
paths:
|
|
- 'Tools/msi/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
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 -${{ matrix.type }}
|