mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ci: enable ffmpeg by default for Windows and Linux x86 targets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user