Update ffmpeg-shared.yml
This commit is contained in:
parent
e8dfbd5ac8
commit
5e09eb862a
6
.github/workflows/ffmpeg-shared.yml
vendored
6
.github/workflows/ffmpeg-shared.yml
vendored
@ -15,7 +15,7 @@ on:
|
||||
|
||||
env:
|
||||
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
|
||||
switches: "--enable-libvpl --enable-libsvtav1 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libvorbis --enable-libvpx "
|
||||
switches: "--enable-libsvtav1 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libvorbis --enable-libvpx "
|
||||
NASM_EXECUTABLE: nasm
|
||||
msysConfig: release
|
||||
winConfig: Release
|
||||
@ -377,14 +377,14 @@ jobs:
|
||||
with:
|
||||
path: build_artifacts
|
||||
- name: Build FFmpeg
|
||||
if: ${{!env.useCartwheel}}
|
||||
if: ${{true}}
|
||||
shell: cmd
|
||||
run: |
|
||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||
md build dist
|
||||
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd ffmpeg ; git apply --ignore-whitespace --verbose ../0003-dynamic-loading-of-shared-fdk-aac-library-5.0.patch ; cd ../build ; for file in `ls ../build_artifacts/**/*.tgz`; do tar -xzf $file; done ; rm -f bin/*.dll ; cd ../nvenc ; make PREFIX=../build install ; cp -a ../amf/amf/public/include ../build/include/AMF ; cd ../ffmpeg ; PKG_CONFIG_PATH=../build/lib/pkgconfig ./configure --toolchain=msvc --extra-cflags="${{ env.cFlags }} -I../build/include" --extra-ldflags="-LIBPATH:../build/lib" --prefix=../build --pkg-config-flags="--static" --build-suffix=-voukoderpro --disable-doc --disable-static --enable-shared --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl ${{ env.switches }} ; make ; make install ; cd ../build ; dir ; tar czf ../dist/ffmpeg-win64-shared-${{ env.msysConfig }}.tar.gz *'
|
||||
- name: Build FFmpeg from Cartwheel
|
||||
if: ${{env.useCartwheel}}
|
||||
if: ${{false}}
|
||||
shell: cmd
|
||||
run: |
|
||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||
|
Loading…
x
Reference in New Issue
Block a user