Skip to content

Commit de2e722

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

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/macos_wheel.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,25 @@ jobs:
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
post-script: packaging/post_build_script.sh
5050
smoke-test-script: packaging/fake_smoke_test.py
51-
runner-type: macos-m1-stable
51+
runner-type: macos-m1-12
5252
package-name: torchcodec
5353
trigger-event: ${{ github.event_name }}
5454
build-platform: "python-build-package"
5555
build-command: "BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 ${CONDA_RUN} python3 -m build --wheel -vvv --no-isolation"
5656

57-
validate-binaries:
58-
uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main
59-
with:
60-
package_type: "wheel"
61-
os: "macos-arm64"
62-
channel: "nightly"
63-
repository: "pytorch/torchcodec"
64-
smoke_test: "source ./packaging/validate_wheel.sh"
65-
install_torch: true
57+
# validate-binaries:
58+
# needs: build
59+
# uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main
60+
# with:
61+
# package_type: "wheel"
62+
# os: "macos-arm64"
63+
# channel: "nightly"
64+
# repository: "pytorch/torchcodec"
65+
# smoke_test: "source ./packaging/validate_wheel.sh"
66+
# install_torch: true
6667

6768
install-and-test:
68-
runs-on: macos-m1-stable
69+
runs-on: macos-m1-12
6970
strategy:
7071
fail-fast: false
7172
matrix:
@@ -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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -eux
44

55
conda install ffmpeg -c conda-forge
66
pip install ${PYTORCH_PIP_PREFIX} torchcodec --extra-index-url ${PYTORCH_PIP_DOWNLOAD_URL}
7-
pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
87

98
python3 test/decoders/manual_smoke_test.py
109
pytest test -vvv

0 commit comments

Comments
 (0)