|
1 | | -name: Build Windows X64 Wheels |
| 1 | +name: Build Windows Arm64 Torchvision Wheel |
2 | 2 |
|
3 | 3 | on: |
4 | | - pull_request: |
| 4 | + pull_request: null |
5 | 5 | push: |
6 | 6 | branches: |
7 | 7 | - nightly |
8 | 8 | - main |
9 | 9 | - release/* |
10 | 10 | 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]+ |
14 | 12 | workflow_dispatch: |
15 | 13 | inputs: |
16 | | - python_version: |
17 | | - description: "Python version" |
18 | | - required: true |
19 | | - type: choice |
20 | | - options: |
21 | | - - Python312 |
22 | | - - Python311 |
23 | | - default: Python312 |
24 | | - msvc_version: |
25 | | - description: "MSVC Version" |
26 | | - required: true |
27 | | - type: choice |
28 | | - options: |
29 | | - - 'latest' |
30 | | - - '14.40' |
31 | | - - '14.36' |
32 | | - default: 'latest' |
33 | 14 | build_type: |
34 | | - description: "Build type" |
| 15 | + description: Build type |
35 | 16 | required: true |
36 | 17 | type: choice |
37 | 18 | options: |
38 | 19 | - Release |
39 | | - # - Debug (not supported for wheel) |
| 20 | + # - Debug not available |
40 | 21 | default: Release |
41 | 22 | repository_name: |
42 | | - description: "torchvision repository (username/repo)" |
43 | | - required: true |
| 23 | + description: Torchvision repository (username/repo) |
| 24 | + required: false |
44 | 25 | type: string |
45 | | - default: "pytorch/vision" |
| 26 | + default: pytorch/vision |
46 | 27 | repository_branch: |
47 | | - description: "repository branch" |
48 | | - required: true |
49 | | - type: string |
50 | | - default: "main" |
51 | | - build_version: |
52 | | - description: "Optional: build version for wheel file name (e.g. 2.6.0); leave empty for default naming" |
| 28 | + description: Repository branch |
53 | 29 | required: false |
54 | 30 | type: string |
55 | | - default: "" |
56 | | - |
| 31 | + default: main |
| 32 | + |
57 | 33 | permissions: |
58 | 34 | id-token: write |
59 | 35 | contents: read |
60 | 36 |
|
61 | 37 | jobs: |
62 | 38 | trigger-test-infra: |
| 39 | + strategy: |
| 40 | + matrix: |
| 41 | + python_version: ["3.12"] # only one for now |
| 42 | + runs-on: "windows-latest" |
63 | 43 | uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_x64_test.yml@x64windows_test |
| 44 | + name: Trigger Test Infra workflow |
64 | 45 | with: |
65 | | - python_version: ${{ inputs.python_version || 'Python312' }} |
66 | | - msvc_version: ${{ inputs.msvc_version || 'latest' }} |
67 | | - build_type: ${{ inputs.build_type || 'Release' }} |
68 | | - repository_name: ${{ inputs.repository_name || 'pytorch/vision' }} |
69 | | - repository_branch: ${{ inputs.repository_branch || 'main' }} |
70 | | - build_version: ${{ inputs.build_version || '' }} |
| 46 | + python_version: ${{ matrix.python_version }} |
| 47 | + build_type: ${{ inputs.build_type }} |
| 48 | + repository_name: ${{ inputs.repository_name }} |
| 49 | + repository_branch: ${{ inputs.repository_branch }} |
0 commit comments