Skip to content

Commit 0bfa6da

Browse files
author
steven
committed
1. fix the install problem in python 3.13 env.
1 parent d669480 commit 0bfa6da

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ jobs:
2424
uses: actions/setup-python@v4
2525
with:
2626
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install PyAV dependencies (Ubuntu)
29+
if: matrix.os == 'ubuntu-latest'
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install -y \
33+
libavformat-dev libavcodec-dev libavdevice-dev \
34+
libavutil-dev libswscale-dev libswresample-dev libavfilter-dev
35+
36+
- name: Install PyAV dependencies (MacOS)
37+
if: matrix.os == 'macos-latest'
38+
run: |
39+
brew install ffmpeg
40+
41+
- name: Install PyAV dependencies (Windows)
42+
if: matrix.os == 'windows-latest'
43+
run: |
44+
choco install ffmpeg
2745
2846
- name: Install Chrome (Ubuntu)
2947
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)