Skip to content

Commit 051ba6d

Browse files
author
amin
committed
update ci
1 parent 79a2027 commit 051ba6d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,27 @@ jobs:
6969
brew update
7070
brew install automake fdk-aac git lame libass libvorbis libvpx opus sdl2 texi2html theora x264 x265 cmake pkg-config
7171
72+
# Cleanup old FFmpeg directory if present
7273
rm -rf FFmpeg
74+
75+
# Set pkg-config path for Homebrew
76+
export PKG_CONFIG_PATH="/opt/homebrew/lib/pkgconfig:/opt/homebrew/opt/lame/lib/pkgconfig:$PKG_CONFIG_PATH"
77+
export LDFLAGS="-L/opt/homebrew/lib"
78+
export CPPFLAGS="-I/opt/homebrew/include"
79+
7380
git clone https://github.com/FFmpeg/FFmpeg.git
7481
cd FFmpeg
7582
git checkout n7.1.1
7683
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
84+
./configure --prefix=/usr/local --enable-gpl --enable-nonfree \
85+
--enable-shared \
86+
--enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame \
87+
--enable-libfdk-aac --enable-libopus
7988
8089
make -j$(sysctl -n hw.logicalcpu)
8190
sudo make install
8291
ffmpeg -version
92+
ls -lh /usr/local/lib/libav*.dylib
8393
8494
- name: Install FFmpeg 7.1.1 on Windows (custom build)
8595
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)