Skip to content

Commit 20f761c

Browse files
test
1 parent e1ca751 commit 20f761c

File tree

1 file changed

+34
-42
lines changed

1 file changed

+34
-42
lines changed

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

Lines changed: 34 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +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-
# 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 }}
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: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
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+
build-matrix: ${{ matrix }}
4444

4545
generate-matrix:
4646
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
@@ -54,33 +54,25 @@ jobs:
5454
needs: generate-matrix
5555
strategy:
5656
fail-fast: false
57-
matrix:
58-
include:
59-
- repository: pytorch/vision
60-
pre-script: packaging/pre_build_script.sh
61-
env-script: packaging/windows/internal/vc_env_helper.bat
62-
post-script: "python packaging/wheel/relocate.py"
63-
smoke-test-script: test/smoke_test.py
64-
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
57+
# matrix:
58+
# include:
59+
# - repository: pytorch/vision
60+
# pre-script: packaging/pre_build_script.sh
61+
# env-script: packaging/windows/internal/vc_env_helper.bat
62+
# post-script: "python packaging/wheel/relocate.py"
63+
# smoke-test-script: test/smoke_test.py
64+
# package-name: torchvision
7265
name: ${{ matrix.repository }}
73-
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows.yml@x64windows_test
66+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
7467
with:
7568
repository: ${{ matrix.repository }}
7669
ref: ""
77-
test-infra-repository: ${{ matrix.test-infra-repository || 'pytorch/test-infra' }}
78-
test-infra-ref: ${{ matrix.test-infra-ref || 'main' }}
79-
build-matrix: ${{ needs.generate-matrix.outputs.matrix || '{}' }}
70+
test-infra-repository: pytorch/test-infra
71+
test-infra-ref: main
72+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
8073
pre-script: ${{ matrix.pre-script }}
8174
env-script: ${{ matrix.env-script }}
8275
post-script: ${{ matrix.post-script }}
8376
package-name: ${{ matrix.package-name }}
8477
smoke-test-script: ${{ matrix.smoke-test-script }}
8578
trigger-event: ${{ github.event_name }}
86-

0 commit comments

Comments
 (0)