Arm64 workflow enablement #1
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: torchvision Build | ||
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 | ||
msvc_version: | ||
description: "MSVC Version" | ||
required: true | ||
type: choice | ||
options: | ||
- 'latest' | ||
- '14.40' | ||
- '14.36' | ||
pytorch_build_run_id: | ||
description: "PyTorch build run id for downloading the wheel artifact (number at the end of build run URL)" | ||
required: true | ||
default: "13589031393" | ||
type: string | ||
pytorch_build_artifact_name: | ||
description: "Artifact name of PyTorch build run" | ||
required: true | ||
default: "pytorch-wheel" | ||
type: string | ||
build_type: | ||
description: "Build type" | ||
required: true | ||
type: choice | ||
options: | ||
- Release | ||
# - Debug (not supported for wheel) | ||
repository_name: | ||
description: "torchvision repository (username/repo)" | ||
required: true | ||
default: "pytorch/vision" | ||
type: string | ||
repository_branch: | ||
description: "repository branch" | ||
required: true | ||
default: "main" | ||
type: string | ||
build_version: | ||
description: "Optional: build version for wheel file name (e.g. 2.6.0); otherwise leave empty for default naming" | ||
required: false | ||
default: "2.6.0" | ||
type: string | ||
permissions: | ||
id-token: write | ||
contents: read | ||
jobs: | ||
trigger-test-infra: | ||
Check failure on line 69 in .github/workflows/build_wheel_windows_arm64.yml
|
||
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels | ||
with: | ||
repository_name: ${{ inputs.repository_name }} | ||
repository_branch: ${{ inputs.repository_branch }} | ||
python_version: ${{ inputs.python_version || 'Python312' }} | ||
msvc_version: ${{ inputs.msvc_version || 'latest' }} | ||
pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }} | ||
build_type: ${{ inputs.build_type || 'Release' }} | ||
build_version: ${{ inputs.build_version }} |