Skip to content

Commit 238bbbd

Browse files
committed
DO NOT MERGE: debug
Signed-off-by: Dmitry Rogozhkin <[email protected]>
1 parent fc35943 commit 238bbbd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/linux_wheel.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
fail-fast: false
6464
matrix:
6565
python-version: ['3.10']
66-
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1', '8.0']
66+
ffmpeg-version-for-tests: ['8.0']
6767
needs: build
6868
steps:
6969
- uses: actions/download-artifact@v4
@@ -105,6 +105,7 @@ jobs:
105105
106106
conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" pkg-config -c conda-forge
107107
ffmpeg -version
108+
ldd $(which ffmpeg)
108109
109110
- name: Install test dependencies
110111
run: |
@@ -127,4 +128,5 @@ jobs:
127128
ls
128129
- name: Run Python tests
129130
run: |
131+
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
130132
pytest --override-ini="addopts=-v" test

test/test_cppapi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,9 @@ def test_cppapi_with_prefix(tmp_path):
7676
assert result.returncode == 0
7777

7878
ver = f"{torchcodec.ffmpeg_major_version}"
79+
80+
result = subprocess.run(["ldd", f"./torchcodec_cppapitest{ver}"], cwd=tmp_path)
81+
assert result.returncode == 0
82+
7983
result = subprocess.run([f"./torchcodec_cppapitest{ver}"], cwd=tmp_path)
8084
assert result.returncode == 0

0 commit comments

Comments
 (0)