diff --git a/.github/workflows/ffmpeg.yml b/.github/workflows/ffmpeg.yml index f92df26..1511df5 100644 --- a/.github/workflows/ffmpeg.yml +++ b/.github/workflows/ffmpeg.yml @@ -19,8 +19,14 @@ jobs: with: install: base-devel binutils mingw-w64-x86_64-cmake pkg-config git path-type: inherit + - name: Set up GIT + run: | + git config --global core.autocrlf false + git config --global core.eol lf + git clone -b release/5.0 https://github.com/FFmpeg/FFmpeg.git repo - name: Set up development tools shell: cmd run: | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - D:\a\_temp\setup-msys2\msys2.cmd -c 'set' + md build + D:\a\_temp\setup-msys2\msys2.cmd -c 'export BUILD=../build ; ccd repo ; PKG_CONFIG_PATH=$BUILD/lib/pkgconfig ./configure --toolchain=msvc --extra-cflags=\'-MDd -I$BUILD/include\' --extra-ldflags=\'-LIBPATH:$BUILD/lib\' --prefix=$BUILD --pkg-config-flags=\'--static\' --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl ; make -j ; make install'