11name : Build Windows Wheels
2+
23on :
34 pull_request :
45 push :
@@ -16,38 +17,14 @@ permissions:
1617 id-token : write
1718 contents : read
1819
19-
2020jobs :
21- build-x64-test :
22- strategy :
23- fail-fast : false
24- matrix :
25- python-version : ["3.12"]
26- include :
27- - repository : pytorch/vision
28- smoke-test-script : test/smoke_test.py
29- package-name : torchvision
30- aarch : ' x64'
31- test-infra-repository : alinpahontu2912/test-infra
32- test-infra-ref : x64windows_test
33- name : test new job
34- uses : alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
35- with :
36- repository : ${{ matrix.repository }}
37- test-infra-repository : ${{ matrix.test-infra-repository }}
38- test-infra-ref : ${{ matrix.test-infra-ref }}
39- package-name : ${{ matrix.package-name }}
40- smoke-test-script : ${{ matrix.smoke-test-script }}
41- aarch : ${{ matrix.aarch }}
42- python-version : ${{ matrix.python-version }}
43-
4421 generate-matrix :
45- uses : alinpahontu2912 /test-infra/.github/workflows/generate_binary_build_matrix.yml@x64windows_test
22+ uses : pytorch /test-infra/.github/workflows/generate_binary_build_matrix.yml@main
4623 with :
4724 package-type : wheel
4825 os : windows
49- test-infra-repository : alinpahontu2912 /test-infra
50- test-infra-ref : x64windows_test
26+ test-infra-repository : pytorch /test-infra
27+ test-infra-ref : main
5128 with-xpu : enable
5229 build :
5330 needs : generate-matrix
@@ -62,16 +39,36 @@ jobs:
6239 smoke-test-script : test/smoke_test.py
6340 package-name : torchvision
6441 name : ${{ matrix.repository }}
65- uses : alinpahontu2912 /test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
42+ uses : pytorch /test-infra/.github/workflows/build_wheels_windows.yml@main
6643 with :
6744 repository : ${{ matrix.repository }}
6845 ref : " "
69- test-infra-repository : alinpahontu2912 /test-infra
70- test-infra-ref : x64windows_test
46+ test-infra-repository : pytorch /test-infra
47+ test-infra-ref : main
7148 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
7249 pre-script : ${{ matrix.pre-script }}
7350 env-script : ${{ matrix.env-script }}
7451 post-script : ${{ matrix.post-script }}
7552 package-name : ${{ matrix.package-name }}
7653 smoke-test-script : ${{ matrix.smoke-test-script }}
77- trigger-event : ${{ github.event_name }}
54+ trigger-event : ${{ github.event_name }}
55+
56+ build_x64 :
57+ strategy :
58+ matrix :
59+ include :
60+ - repository : pytorch/vision
61+ smoke-test-script : test/smoke_test.py
62+ package-name : torchvision
63+ python-version : " 3.12"
64+ iswinarm64 : true
65+ name : ${{ matrix.repository }}-test-x64
66+ uses : alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
67+ with :
68+ repository : ${{ matrix.repository }}
69+ ref : " "
70+ test-infra-repository : alinpahontu2912/test-infra
71+ test-infra-ref : x64windows_test
72+ build-matrix : ${{ matrix }}
73+ package-name : ${{ matrix.package-name }}
74+ smoke-test-script : ${{ matrix.smoke-test-script }}
0 commit comments