Skip to content

Commit 427e4ba

Browse files
committed
Merge branch 'mac_wheels_ci' of github.com:scotts/torchcodec into mac_wheels_ci
2 parents 2733862 + 4a8eb56 commit 427e4ba

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/macos_wheel.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
build-command: "BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 ${CONDA_RUN} python3 -m build --wheel -vvv --no-isolation"
5656

5757
validate-binaries:
58+
needs: build
5859
uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main
5960
with:
6061
package_type: "wheel"
@@ -135,4 +136,4 @@ jobs:
135136
python3 test/decoders/manual_smoke_test.py
136137
- name: Run Python tests
137138
run: |
138-
pytest test
139+
pytest test -vvv

packaging/validate_wheel.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
set -eux
44

55
conda install ffmpeg -c conda-forge
6+
7+
# line below is inspired by:
8+
# https://github.com/pytorch/text/blob/1d4ce73c57417f1af8278af56631de3c25e3bbaf/.github/scripts/validate_binaries.sh#L5
9+
# but when looking at the actual job that runs, we seem to install 0.0.0dev, a version
10+
# we probably uploaded during release testing. How do we get the wheel generated during
11+
# the build job?
612
pip install ${PYTORCH_PIP_PREFIX} torchcodec --extra-index-url ${PYTORCH_PIP_DOWNLOAD_URL}
713
pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
814

0 commit comments

Comments
 (0)