|
1 | | -name: Build Windows Arm64 Wheels |
| 1 | +name: Build Windows X64 Wheels |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | pull_request: |
|
20 | 20 | options: |
21 | 21 | - Python312 |
22 | 22 | - Python311 |
| 23 | + default: Python312 |
23 | 24 | msvc_version: |
24 | 25 | description: "MSVC Version" |
25 | 26 | required: true |
|
28 | 29 | - 'latest' |
29 | 30 | - '14.40' |
30 | 31 | - '14.36' |
31 | | - pytorch_build_run_id: |
32 | | - description: "PyTorch build run id for downloading the wheel artifact (number at the end of build run URL)" |
33 | | - required: true |
34 | | - default: "13589031393" |
35 | | - type: string |
36 | | - pytorch_build_artifact_name: |
37 | | - description: "Artifact name of PyTorch build run" |
38 | | - required: true |
39 | | - default: "pytorch-wheel" |
40 | | - type: string |
| 32 | + default: 'latest' |
41 | 33 | build_type: |
42 | 34 | description: "Build type" |
43 | 35 | required: true |
44 | 36 | type: choice |
45 | 37 | options: |
46 | 38 | - Release |
47 | 39 | # - Debug (not supported for wheel) |
| 40 | + default: Release |
48 | 41 | repository_name: |
49 | 42 | description: "torchvision repository (username/repo)" |
50 | 43 | required: true |
51 | | - default: "pytorch/vision" |
52 | 44 | type: string |
| 45 | + default: "pytorch/vision" |
53 | 46 | repository_branch: |
54 | 47 | description: "repository branch" |
55 | 48 | required: true |
56 | | - default: "main" |
57 | 49 | type: string |
| 50 | + default: "main" |
58 | 51 | build_version: |
59 | | - description: "Optional: build version for wheel file name (e.g. 2.6.0); otherwise leave empty for default naming" |
| 52 | + description: "Optional: build version for wheel file name (e.g. 2.6.0); leave empty for default naming" |
60 | 53 | required: false |
61 | | - default: "2.6.0" |
62 | 54 | type: string |
| 55 | + default: "" |
63 | 56 |
|
64 | 57 | permissions: |
65 | 58 | id-token: write |
|
69 | 62 | trigger-test-infra: |
70 | 63 | uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels |
71 | 64 | with: |
72 | | - repository_name: ${{ inputs.repository_name }} |
73 | | - repository_branch: ${{ inputs.repository_branch }} |
74 | 65 | python_version: ${{ inputs.python_version || 'Python312' }} |
75 | | - msvc_version: ${{ inputs.msvc_version || 'latest' }} |
76 | | - pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }} |
| 66 | + msvc_version: ${{ inputs.msvc_version || 'latest' }} |
77 | 67 | build_type: ${{ inputs.build_type || 'Release' }} |
78 | | - build_version: ${{ inputs.build_version }} |
| 68 | + repository_name: ${{ inputs.repository_name || 'pytorch/vision' }} |
| 69 | + repository_branch: ${{ inputs.repository_branch || 'main' }} |
| 70 | + build_version: ${{ inputs.build_version || '' }} |
0 commit comments