From e072dade13f497f0dede8b9a1f8a7d38bd286916 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 5 Apr 2022 10:15:44 +0200 Subject: [PATCH] CI Win FFmpeg: use MSYS2 pkg instead of ext. build Use MSYS2 version instead of external builds from gyan.net. FFmpeg gets installed as a dependency anyway and this causes crashes because of binary incompatibility between those two. See failed run: https://github.com/CESNET/UltraGrid/actions/runs/2076078289 --- .github/scripts/Windows/prepare_msys.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/scripts/Windows/prepare_msys.sh b/.github/scripts/Windows/prepare_msys.sh index a29889acc..8613390a0 100644 --- a/.github/scripts/Windows/prepare_msys.sh +++ b/.github/scripts/Windows/prepare_msys.sh @@ -39,6 +39,7 @@ PACMAN_INSTALL='pacman -Sy --needed --noconfirm --disable-download-timeout' # Install MSYS2 packages MSYS_REPO=mingw-w64-ucrt-x86_64 $PACMAN_INSTALL automake autoconf git make pkgconf ${MSYS_REPO}-toolchain ${MSYS_REPO}-cppunit unzip zip +$PACMAN_INSTALL ${MSYS_REPO}-ffmpeg $PACMAN_INSTALL ${MSYS_REPO}-speexdsp $PACMAN_INSTALL ${MSYS_REPO}-glew ${MSYS_REPO}-SDL2 ${MSYS_REPO}-freeglut $PACMAN_INSTALL ${MSYS_REPO}-portaudio # in case of problems build PA with --with-winapi=wmme,directx,wasapi @@ -86,9 +87,6 @@ build_cineform() { $GITHUB_WORKSPACE/.github/scripts/Windows/install_natpmp.sh $GITHUB_WORKSPACE/.github/scripts/Windows/install_spout.sh -# Install FFMPEG -wget --no-verbose https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z && 7z x ffmpeg-release-full-shared.7z && cp -r ffmpeg-*build-shared/{bin,lib,include} /usr/local && rm -rf ffmpeg-* || exit 1 - # Install GPUJPEG ( wget --no-verbose https://github.com/CESNET/GPUJPEG/releases/download/continuous/GPUJPEG.zip && unzip GPUJPEG.zip && cp -r GPUJPEG/* /usr/local || exit 1 )