Skip to content

Commit 3cec5e9

Browse files
attempt merge workflow
1 parent 16afdeb commit 3cec5e9

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

.github/workflows/build-wheels-windows.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,23 @@ jobs:
5252
package-name: ${{ matrix.package-name }}
5353
smoke-test-script: ${{ matrix.smoke-test-script }}
5454
trigger-event: ${{ github.event_name }}
55+
56+
build-x64-test:
57+
strategy:
58+
fail-fast: false
59+
matrix:
60+
include:
61+
- repository: pytorch/vision
62+
smoke-test-script: test/smoke_test.py
63+
package-name: torchvision
64+
python-version: 3.12
65+
name: ${{ matrix.repository }}-x64-test
66+
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_x64_test.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+
package-name: ${{ matrix.package-name }}
73+
smoke-test-script: ${{ matrix.smoke-test-script }}
74+
aarch: "arm64"

.github/workflows/build_wheel_windows_x64_test.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ on:
1010
tags:
1111
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
1212
workflow_dispatch:
13-
inputs:
14-
repository_name:
15-
description: Torchvision repository (username/repo)
16-
required: false
17-
type: string
18-
default: pytorch/vision
19-
repository_branch:
20-
description: Repository branch
21-
required: false
22-
type: string
23-
default: main
2413

2514
permissions:
2615
id-token: write
@@ -35,5 +24,5 @@ jobs:
3524
name: Build Windows x64 Torchvision Wheel
3625
with:
3726
python_version: ${{ matrix.python_version }}
38-
repository_name: ${{ inputs.repository_name || 'pytorch/vision' }}
39-
repository_branch: ${{ inputs.repository_branch || 'main'}}
27+
repository_name: 'pytorch/vision'
28+
repository_branch: // predefined github branch variable

0 commit comments

Comments
 (0)