Skip to content

Commit 0916aa4

Browse files
committed
Set Python3 root.
1 parent 7d81193 commit 0916aa4

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/macos_wheel.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ jobs:
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
66+
5767
install-and-test:
5868
runs-on: macos-m1-stable
5969
strategy:
@@ -73,7 +83,8 @@ jobs:
7383
with:
7484
python-version: ${{ matrix.python-version }}
7585
- name: Update pip
76-
run: python3 -m pip install --upgrade pip
86+
run: |
87+
python3 -m pip install --upgrade pip
7788
- name: Install PyTorch
7889
run: |
7990
python3 -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
@@ -92,7 +103,9 @@ jobs:
92103
# want to checkout the repo before installing the wheel to avoid any
93104
# side-effect. It's OK.
94105
source packaging/helpers.sh
95-
assert_ffmpeg_not_installed
106+
107+
# below was failing, but when I just try to call "ffmpeg -version" that also fails?
108+
#assert_ffmpeg_not_installed
96109
97110
conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" -c conda-forge
98111
ffmpeg -version

0 commit comments

Comments
 (0)