11name : Build Windows Arm64 Torchvision Wheel
22
33on :
4- pull_request :
4+ pull_request : null
55 push :
66 branches :
77 - nightly
88 - main
99 - release/*
1010 tags :
11- # NOTE: Binary build pipelines should only get triggered on release candidate builds
12- # Release candidate tags look like: v1.11.0-rc1
13- - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
11+ - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
1412 workflow_dispatch :
1513 inputs :
16- python_version :
17- description : " Python version"
18- required : true
19- type : choice
20- options :
21- - " 3.12"
22- - " 3.11"
23- default : " 3.12"
2414 build_type :
25- description : " Build type"
15+ description : Build type
2616 required : true
2717 type : choice
2818 options :
2919 - Release
30- # - Debug ( not supported for wheel)
20+ # - Debug not available
3121 default : Release
3222 repository_name :
33- description : " torchvision repository (username/repo)"
23+ description : Torchvision repository (username/repo)
3424 required : false
3525 type : string
36- default : " pytorch/vision"
26+ default : pytorch/vision
3727 repository_branch :
38- description : " repository branch"
28+ description : Repository branch
3929 required : false
4030 type : string
41- default : " main"
42-
31+ default : main
32+
4333permissions :
4434 id-token : write
4535 contents : read
4636
4737jobs :
4838 trigger-test-infra :
49- uses : alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels
50- with :
51- python_version : ${{ inputs.python_version || '3.12' }}
52- msvc_version : ${{ inputs.msvc_version || 'latest' }}
53- build_type : ${{ inputs.build_type || 'Release' }}
54- repository_name : ${{ inputs.repository_name || 'pytorch/vision' }}
55- repository_branch : ${{ inputs.repository_branch || 'main' }}
56- build_version : ${{ inputs.build_version || '' }}
39+ strategy :
40+ matrix :
41+ python_version : ["3.12"] # only one for now
42+ runs-on : " windows-11-arm64"
43+
44+ steps :
45+ - name : Trigger Test Infra workflow
46+ uses : alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels
47+ with :
48+ python_version : ${{ matrix.python_version }}
49+ build_type : ${{ inputs.build_type }}
50+ repository_name : ${{ inputs.repository_name }}
51+ repository_branch : ${{ inputs.repository_branch }}
0 commit comments