Arm64 workflow enablement #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Windows X64 Wheels | |
on: | |
pull_request: | |
push: | |
branches: | |
- nightly | |
- main | |
- release/* | |
tags: | |
# NOTE: Binary build pipelines should only get triggered on release candidate builds | |
# Release candidate tags look like: v1.11.0-rc1 | |
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ | |
workflow_dispatch: | |
inputs: | |
python_version: | |
description: "Python version" | |
required: true | |
type: choice | |
options: | |
- Python312 | |
- Python311 | |
default: Python312 | |
msvc_version: | |
description: "MSVC Version" | |
required: true | |
type: choice | |
options: | |
- 'latest' | |
- '14.40' | |
- '14.36' | |
default: 'latest' | |
build_type: | |
description: "Build type" | |
required: true | |
type: choice | |
options: | |
- Release | |
# - Debug (not supported for wheel) | |
default: Release | |
repository_name: | |
description: "torchvision repository (username/repo)" | |
required: true | |
type: string | |
default: "pytorch/vision" | |
repository_branch: | |
description: "repository branch" | |
required: true | |
type: string | |
default: "main" | |
build_version: | |
description: "Optional: build version for wheel file name (e.g. 2.6.0); leave empty for default naming" | |
required: false | |
type: string | |
default: "" | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
trigger-test-infra: | |
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels | |
with: | |
python_version: ${{ inputs.python_version || 'Python312' }} | |
msvc_version: ${{ inputs.msvc_version || 'latest' }} | |
build_type: ${{ inputs.build_type || 'Release' }} | |
repository_name: ${{ inputs.repository_name || 'pytorch/vision' }} | |
repository_branch: ${{ inputs.repository_branch || 'main' }} | |
build_version: ${{ inputs.build_version || '' }} |