Skip to content

Commit 8ec9526

Browse files
test
1 parent 454ac54 commit 8ec9526

File tree

1 file changed

+32
-22
lines changed

1 file changed

+32
-22
lines changed

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

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,28 @@ permissions:
1919
contents: read
2020

2121
jobs:
22-
build-x64-test:
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
include:
27-
- repository: pytorch/vision
28-
smoke-test-script: test/smoke_test.py
29-
package-name: torchvision
30-
python-version: '3.12'
31-
aarch: 'x64'
32-
name: test new workflow
33-
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
34-
with:
35-
repository: ${{ matrix.repository }}
36-
ref: ""
37-
test-infra-repository: alinpahontu2912/test-infra
38-
test-infra-ref: x64windows_test
39-
package-name: ${{ matrix.package-name }}
40-
smoke-test-script: ${{ matrix.smoke-test-script }}
41-
aarch: ${{ matrix.aarch }}
22+
# build-x64-test:
23+
# strategy:
24+
# fail-fast: false
25+
# matrix:
26+
# include:
27+
# - repository: pytorch/vision
28+
# smoke-test-script: test/smoke_test.py
29+
# package-name: torchvision
30+
# python-version: '3.12'
31+
# aarch: 'x64'
32+
# test-infra-ref: x64windows_test
33+
# test-infra-repository: alinpahontu2912/test-infra
34+
# name: test new workflow
35+
# uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
36+
# with:
37+
# repository: ${{ matrix.repository }}
38+
# ref: ""
39+
# test-infra-repository: ${{ matrix.test-infra-repository }}
40+
# test-infra-ref: ${{ matrix.test-infra-ref }}
41+
# package-name: ${{ matrix.package-name }}
42+
# smoke-test-script: ${{ matrix.smoke-test-script }}
43+
# aarch: ${{ matrix.aarch }}
4244

4345
generate-matrix:
4446
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
@@ -60,17 +62,25 @@ jobs:
6062
post-script: "python packaging/wheel/relocate.py"
6163
smoke-test-script: test/smoke_test.py
6264
package-name: torchvision
65+
- repository: pytorch/vision
66+
smoke-test-script: test/smoke_test.py
67+
package-name: torchvision
68+
python-version: '3.12'
69+
aarch: 'x64'
70+
test-infra-ref: x64windows_test
71+
test-infra-repository: alinpahontu2912/test-infra
6372
name: ${{ matrix.repository }}
6473
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
6574
with:
6675
repository: ${{ matrix.repository }}
6776
ref: ""
68-
test-infra-repository: pytorch/test-infra
69-
test-infra-ref: main
77+
test-infra-repository: ${{ matrix.test-infra-repository || 'pytorch/test-infra' }}
78+
test-infra-ref: ${{ matrix.test-infra-ref || 'main' }}
7079
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
7180
pre-script: ${{ matrix.pre-script }}
7281
env-script: ${{ matrix.env-script }}
7382
post-script: ${{ matrix.post-script }}
7483
package-name: ${{ matrix.package-name }}
7584
smoke-test-script: ${{ matrix.smoke-test-script }}
7685
trigger-event: ${{ github.event_name }}
86+
aarch: ${{ matrix.aarch || '' }}

0 commit comments

Comments
 (0)