Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2023-02-18 15:13:27 +01:00 committed by GitHub
parent 0f144b81bb
commit a1f41de31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,7 @@ 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-libvpx " COMPONENTS: "--enable-libvpl --enable-libsvtav1 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libvpx --enable-libvorbis --enable-libopus --enable-libx264 --enable-libx265 "
#--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' }}
@ -69,15 +68,15 @@ jobs:
refId: master refId: master
config: ${{ inputs.config }} config: ${{ inputs.config }}
#liboggvorbis: liboggvorbis:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/liboggvorbis - uses: ./.github/actions/liboggvorbis
# with: with:
# libogg_refId: v1.3.5 libogg_refId: v1.3.5
# libvorbis_refId: v1.3.7 libvorbis_refId: v1.3.7
# config: ${{ inputs.config }} config: ${{ inputs.config }}
libsvtav1: libsvtav1:
runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
@ -124,64 +123,64 @@ jobs:
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:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libopus - uses: ./.github/actions/libopus
# with: with:
# refId: v1.3.1 refId: v1.3.1
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libfdkaac: libfdkaac:
# 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/libfdkaac
# with: with:
# refId: v2.0.2 refId: v2.0.2
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libx264: libx264:
# 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/libx264
# with: with:
# refId: stable refId: stable
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libx265-12: libx265-12:
# 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/libx265-12
# with: with:
# refId: Release_3.5 refId: Release_3.5
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libx265-10: libx265-10:
# 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-10
# with: with:
# refId: Release_3.5 refId: Release_3.5
# config: ${{ inputs.config }} config: ${{ inputs.config }}
#
# libx265: libx265:
# runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
# needs: [libx265-12,libx265-10] needs: [libx265-12,libx265-10]
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - uses: ./.github/actions/libx265 - uses: ./.github/actions/libx265
# with: with:
# refId: Release_3.5 refId: Release_3.5
# config: ${{ inputs.config }} config: ${{ inputs.config }}
ffmpeg: ffmpeg:
runs-on: ${{ inputs.system }} runs-on: ${{ inputs.system }}
needs: [libvpl,libsvtav1,libsnappy,libvpx,libmp3lame,libzimg] needs: [libvpl,libsvtav1,libsnappy,libvpx,libmp3lame,libzimg,liboggvorbis,libopus,libfdkaac,libx264,libx265]
steps: steps:
- name: Set up MSYS2 - name: Set up MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2