Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2023-02-18 14:22:34 +01:00 committed by GitHub
parent 1ac33dab8a
commit 270c6fce9c
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 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libx264 --enable-libx265 --enable-libvpx " COMPONENTS: "--enable-libvpl --enable-libsvtav1 "
#--enable-libvorbis #--enable-libvorbis --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libx264 --enable-libx265 --enable-libvpx
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' }}
@ -87,101 +87,101 @@ jobs:
with: with:
refId: v1.4.1 refId: v1.4.1
config: ${{ inputs.config }} config: ${{ inputs.config }}
libsnappy:
runs-on: ${{ inputs.system }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/libsnappy
with:
refId: 1.1.9
config: ${{ inputs.config }}
libvpx: # libsnappy:
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/libsnappy
with: # with:
refId: v1.12.0 # refId: 1.1.9
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libmp3lame: # libvpx:
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/libvpx
with: # with:
refId: tags/RELEASE__3_100 # refId: v1.12.0
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libzimg: # libmp3lame:
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/libmp3lame
with: # with:
refId: release-3.0.4 # refId: tags/RELEASE__3_100
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libopus: # libzimg:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: ./.github/actions/libopus # - uses: ./.github/actions/libzimg
with: # with:
refId: v1.3.1 # refId: release-3.0.4
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libfdkaac: # libopus:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: ./.github/actions/libfdkaac # - uses: ./.github/actions/libopus
with: # with:
refId: v2.0.2 # refId: v1.3.1
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libx264: # libfdkaac:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: ./.github/actions/libx264 # - uses: ./.github/actions/libfdkaac
with: # with:
refId: stable # refId: v2.0.2
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libx265-12: # libx264:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: ./.github/actions/libx265-12 # - uses: ./.github/actions/libx264
with: # with:
refId: Release_3.5 # refId: stable
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libx265-10: # libx265-12:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: ./.github/actions/libx265-10 # - uses: ./.github/actions/libx265-12
with: # with:
refId: Release_3.5 # refId: Release_3.5
config: ${{ inputs.config }} # config: ${{ inputs.config }}
#
libx265: # libx265-10:
runs-on: ${{ inputs.system }} # runs-on: ${{ inputs.system }}
needs: [libx265-12,libx265-10] # steps:
steps: # - uses: actions/checkout@v3
- uses: actions/checkout@v3 # - uses: ./.github/actions/libx265-10
- uses: ./.github/actions/libx265 # with:
with: # refId: Release_3.5
refId: Release_3.5 # config: ${{ inputs.config }}
config: ${{ inputs.config }} #
# libx265:
# runs-on: ${{ inputs.system }}
# needs: [libx265-12,libx265-10]
# steps:
# - uses: actions/checkout@v3
# - uses: ./.github/actions/libx265
# with:
# refId: Release_3.5
# config: ${{ inputs.config }}
ffmpeg: ffmpeg:
runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
needs: [libvpl,libopus,libsvtav1,libsnappy,libmp3lame,libzimg,liboggvorbis,libx264,libx265,libfdkaac,libvpx] needs: [libvpl,libsvtav1]
steps: steps:
- name: Set up MSYS2 - name: Set up MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2