Skip to content

Commit b39a163

Browse files
committed
Also handle Windows builds
1 parent 8105176 commit b39a163

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/windows_wheel.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.8
3030
with:
3131
package-type: wheel
3232
os: windows
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.8
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -44,12 +44,12 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
name: Build and Upload Windows wheel
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.8
4848
with:
4949
repository: pytorch/torchcodec
5050
ref: ""
5151
test-infra-repository: pytorch/test-infra
52-
test-infra-ref: main
52+
test-infra-ref: release/2.8
5353
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5454
pre-script: packaging/pre_build_script.sh
5555
# post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows
@@ -67,7 +67,7 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
python-version: ['3.10']
70+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7171
# TODO: FFmpeg 5 on Windows segfaults in avcodec_open2() when passing
7272
# bad parameters.
7373
# See https://github.com/pytorch/torchcodec/pull/806
@@ -89,7 +89,7 @@ jobs:
8989
run: python -m pip install --upgrade pip
9090
- name: Install PyTorch
9191
run: |
92-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
92+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
9393
- name: Install torchcodec from the wheel
9494
run: |
9595
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`

0 commit comments

Comments
 (0)