build: fix MacOS ffmpeg builds

This commit is contained in:
Marcin Kurczewski 2025-02-11 23:34:56 +01:00
parent 30b969b9a0
commit 9d27700c1b

View file

@ -78,8 +78,8 @@ runs:
# Install to separate staging paths for all architectures in # Install to separate staging paths for all architectures in
# preparation for fusing universal libraries in a follow-up step. # preparation for fusing universal libraries in a follow-up step.
cd "$RUNNER_TEMP" cd "$RUNNER_TEMP"
git clone --depth 1 --branch "n7.1" https://github.com/FFmpeg/FFmpeg git clone --depth 1 --branch "n7.1" https://github.com/FFmpeg/FFmpeg ffmpeg-arm64
cd FFmpeg cd ffmpeg-arm64
# Common FFmpeg configure options # Common FFmpeg configure options
FFMPEG_CONFIG_OPTIONS=" \ FFMPEG_CONFIG_OPTIONS=" \
@ -98,9 +98,9 @@ runs:
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
sudo make install sudo make install
# Reset build directory. cd "$RUNNER_TEMP"
make clean git clone --depth 1 --branch "n7.1" https://github.com/FFmpeg/FFmpeg ffmpeg-x86-64
cd ffmpeg-x86-64
# Configure for x86-64. # Configure for x86-64.
./configure \ ./configure \
--arch=x86_64 \ --arch=x86_64 \