1- name : Build Windows Arm64 Torchvision Wheel
1+ name : Build Torchvision Windows ARM64 Wheels
22
33on :
4- pull_request : null
4+ pull_request :
55 push :
66 branches :
77 - nightly
88 - main
99 - release/*
1010 tags :
11- - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
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]+
1214 workflow_dispatch :
13- inputs :
14- build_type :
15- description : Build type
16- required : true
17- type : choice
18- options :
19- - Release
20- # - Debug not available
21- default : Release
22- repository_name :
23- description : Torchvision repository (username/repo)
24- required : false
25- type : string
26- default : pytorch/vision
27- repository_branch :
28- description : Repository branch
29- required : false
30- type : string
31- default : main
32-
15+
3316permissions :
3417 id-token : write
3518 contents : read
3619
3720jobs :
38- trigger-test-infra :
21+ generate-matrix :
22+ uses : alinpahontu2912/test-infra/.github/workflows/generate_binary_build_matrix.yml@arm64_enablement
23+ with :
24+ package-type : wheel
25+ os : windows-arm64
26+ test-infra-repository : alinpahontu2912/test-infra
27+ test-infra-ref : arm64_enablement
28+ with-cuda : disable
29+
30+ build :
31+ needs : generate-matrix
3932 strategy :
33+ fail-fast : false
4034 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 }}
35+ include :
36+ - repository : pytorch/vision
37+ smoke-test-script : test/smoke_test.py
38+ package-name : torchvision
39+ architecture : arm64
40+ name : ${{ matrix.repository }}
41+ uses : alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windoarm64_enablementws_test
42+ with :
43+ repository : ${{ matrix.repository }}
44+ ref : " "
45+ test-infra-repository : alinpahontu2912/test-infra
46+ test-infra-ref : arm64_enablement
47+ build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
48+ package-name : ${{ matrix.package-name }}
49+ smoke-test-script : ${{ matrix.smoke-test-script }}
50+ trigger-event : ${{ github.event_name }}
51+ architecture : ${{ matrix.architecture }}
0 commit comments