Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2022-03-21 09:44:09 +01:00 committed by GitHub
parent 4db3e3e146
commit 137e2e7786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,14 @@ jobs:
with: with:
install: base-devel binutils mingw-w64-x86_64-cmake pkg-config git install: base-devel binutils mingw-w64-x86_64-cmake pkg-config git
path-type: inherit 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 - name: Set up development tools
shell: cmd shell: cmd
run: | run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" 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'