Update ffmpeg.yml
This commit is contained in:
parent
ba1adb3f71
commit
59b1ca51d3
14
.github/workflows/ffmpeg.yml
vendored
14
.github/workflows/ffmpeg.yml
vendored
@ -8,6 +8,12 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
default: 'Debug'
|
default: 'Debug'
|
||||||
|
|
||||||
|
env:
|
||||||
|
vsPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\
|
||||||
|
msysConfig: debug
|
||||||
|
winConfig: Debug
|
||||||
|
cFlags: -MDd
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
FFmpeg:
|
FFmpeg:
|
||||||
@ -32,11 +38,11 @@ jobs:
|
|||||||
- name: Build FFmpeg
|
- name: Build FFmpeg
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||||
md build dist
|
md build dist
|
||||||
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd 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 ; make install ; cd ../build/lib ; for file in *.a; do mv "$file" "`basename "$file" .a`.lib"; done ; rm -rf fdk-aac.lib pkgconfig *.la ../share ; cd .. ; tar czf ../dist/ffmpeg-win64-static-debug.tar.gz *'
|
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd repo ; 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" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl ; make ; make install ; cd ../build/lib ; for file in *.a; do mv "$file" "`basename "$file" .a`.lib"; done ; rm -rf fdk-aac.lib pkgconfig *.la ../share ; cd .. ; tar czf ../dist/ffmpeg-win64-static-${{ env.msysConfig }}.tar.gz *'
|
||||||
- name: Publish FFmpeg artifacts
|
- name: Publish FFmpeg artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Nightly Build (Debug)
|
name: Nightly Build (${{ env.winConfig }})
|
||||||
path: dist/ffmpeg-win64-static-debug.tar.gz
|
path: dist/ffmpeg-win64-static-${{ env.msysConfig }}.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user