mirror of
https://github.com/python/cpython
synced 2026-11-16 21:24:18 +03:00
31 lines
643 B
YAML
31 lines
643 B
YAML
name: Reusable Windows MSI
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
arch:
|
|
description: CPU architecture
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
|
|
jobs:
|
|
build:
|
|
name: installer for ${{ inputs.arch }}
|
|
runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
|
|
timeout-minutes: 60
|
|
env:
|
|
ARCH: ${{ inputs.arch }}
|
|
IncludeFreethreaded: true
|
|
steps:
|
|
- uses: actions/checkout@v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Build CPython installer
|
|
run: ./Tools/msi/build.bat --doc -"${ARCH}"
|
|
shell: bash
|