ci: enable ffmpeg by default for Windows and Linux x86 targets

This commit is contained in:
Alibek Omarov
2024-12-13 02:49:19 +03:00
parent c8bf7e5630
commit 8b4b0479c8
6 changed files with 71 additions and 11 deletions

View File

@@ -9,6 +9,27 @@ die_configure()
die
}
get_ffmpeg_archive()
{
if [ "$GH_CPU_OS" == "win32" ]; then
A=win
else
A="$GH_CPU_OS"
fi
if [ "$GH_CPU_ARCH" == "amd64" ]; then
B=64
elif [ "$GH_CPU_ARCH" == "i386" ]; then
B=32
else
B="$GH_CPU_ARCH"
fi
FLAVOR=lgpl-shared-minimal
echo "ffmpeg-n$FFMPEG_VERSION-latest-$A$B-$FLAVOR-$FFMPEG_VERSION"
}
if [ -n "$TRAVIS_BUILD_DIR" ]; then
BUILDDIR=$TRAVIS_BUILD_DIR
elif [ -n "$GITHUB_WORKSPACE" ]; then