mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
* 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>
(cherry picked from commit 75751f4aa5)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
45 lines
792 B
YAML
45 lines
792 B
YAML
name: TestsMSI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- 3.10
|
|
- 3.9
|
|
- 3.8
|
|
- 3.7
|
|
paths:
|
|
- 'Tools/msi/**'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- 3.10
|
|
- 3.9
|
|
- 3.8
|
|
- 3.7
|
|
paths:
|
|
- 'Tools/msi/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build_win32:
|
|
name: 'Windows (x86) Installer'
|
|
runs-on: windows-latest
|
|
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
|