Skip to content

Commit 5a6c3b9

Browse files
author
amin
committed
update ci
1 parent f795c38 commit 5a6c3b9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,21 @@ jobs:
6363
sudo ldconfig
6464
ffmpeg -version
6565
66-
- name: Install FFmpeg 7.1.1 on macOS
66+
- name: Install FFmpeg 7.1.1 on macOS (build from source)
6767
if: matrix.os == 'macos-latest'
6868
run: |
69-
brew install cmake git nasm pkg-config x264 x265 libvpx fdk-aac lame opus
69+
brew update
70+
brew install automake fdk-aac git lame libass libvorbis libvpx opus sdl2 texi2html theora x264 x265 cmake pkg-config
71+
72+
rm -rf FFmpeg
7073
git clone https://github.com/FFmpeg/FFmpeg.git
7174
cd FFmpeg
7275
git checkout n7.1.1
73-
./configure --enable-shared --enable-gpl --enable-nonfree \
74-
--enable-libx264 --enable-libx265 --enable-libvpx \
75-
--enable-libfdk-aac --enable-libmp3lame --enable-libopus
76-
make -j$(sysctl -n hw.ncpu)
76+
77+
./configure --prefix=/usr/local --enable-shared --enable-gpl --enable-nonfree --enable-libx264 \
78+
--enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libfdk-aac --enable-libopus
79+
80+
make -j$(sysctl -n hw.logicalcpu)
7781
sudo make install
7882
ffmpeg -version
7983

0 commit comments

Comments
 (0)