Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2023-02-18 14:51:20 +01:00 committed by GitHub
parent 6f0a2d7ad6
commit 0f144b81bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ on:
env: env:
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\ vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
COMPONENTS: "--enable-libvpl --enable-libsvtav1 " COMPONENTS: "--enable-libvpl --enable-libsvtav1 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libvpx "
#--enable-libvorbis --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libx264 --enable-libx265 --enable-libvpx #--enable-libvorbis --enable-libopus --enable-libx264 --enable-libx265
NASM_EXECUTABLE: nasm NASM_EXECUTABLE: nasm
cFlags: ${{ inputs.config == 'release' && '-MD' || '-MDd' }} cFlags: ${{ inputs.config == 'release' && '-MD' || '-MDd' }}
variant: ${{ inputs.type == 'static' && ' --pkg-config-flags="--static" --disable-shared --enable-static' || ' --disable-static --enable-shared' }} variant: ${{ inputs.type == 'static' && ' --pkg-config-flags="--static" --disable-shared --enable-static' || ' --disable-static --enable-shared' }}
@ -88,42 +88,42 @@ jobs:
refId: v1.4.1 refId: v1.4.1
config: ${{ inputs.config }} config: ${{ inputs.config }}
# libsnappy: libsnappy:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libsnappy - uses: ./.github/actions/libsnappy
# with: with:
# refId: 1.1.9 refId: 1.1.9
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libvpx: libvpx:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libvpx - uses: ./.github/actions/libvpx
# with: with:
# refId: v1.12.0 refId: v1.12.0
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libmp3lame: libmp3lame:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libmp3lame - uses: ./.github/actions/libmp3lame
# with: with:
# refId: tags/RELEASE__3_100 refId: tags/RELEASE__3_100
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libzimg: libzimg:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libzimg - uses: ./.github/actions/libzimg
# with: with:
# refId: release-3.0.4 refId: release-3.0.4
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libopus: # libopus:
# runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
# steps: # steps:
@ -181,7 +181,7 @@ jobs:
ffmpeg: ffmpeg:
runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
needs: [libvpl,libsvtav1] needs: [libvpl,libsvtav1,libsnappy,libvpx,libmp3lame,libzimg]
steps: steps:
- name: Set up MSYS2 - name: Set up MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2