Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2022-07-07 13:36:26 +02:00 committed by GitHub
parent 49dbae0739
commit c4552ae9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,8 @@ on:
env: env:
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\ 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-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvpx " #COMPONENTS: "--enable-libvpl --enable-libsvtav1 --enable-libsnappy --enable-libmp3lame --enable-libzimg --enable-libopus --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvpx "
switches: "" COMPONENTS: ""
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' }}
@ -155,10 +155,13 @@ jobs:
with: with:
name: libvpl name: libvpl
path: dist/libvpl.tgz path: dist/libvpl.tgz
- name: Set the value - name: Add component to switches
run: | run: |
echo "switches='${{ env.switches }} --enable-libvpl '" >> $GITHUB_ENV echo "COMPONENTS=${{ env.COMPONENTS }}--enable-libvpl\ " >> $GITHUB_ENV
- name: read
run: |
echo "sw: ${{ env.COMPONENTS }}"
ffmpeg: ffmpeg:
runs-on: windows-2022 runs-on: windows-2022
#needs: [libopus,libvpl,libsvtav1,libsnappy,libmp3lame,libzimg,liboggvorbis,libx264,libx265,libfdkaac,libvpx] #needs: [libopus,libvpl,libsvtav1,libsnappy,libmp3lame,libzimg,liboggvorbis,libx264,libx265,libfdkaac,libvpx]
@ -171,6 +174,7 @@ jobs:
path-type: inherit path-type: inherit
- name: Set up GIT - name: Set up GIT
run: | run: |
echo "sw: ${{ env.COMPONENTS }}"
git config --global core.autocrlf false git config --global core.autocrlf false
git config --global core.eol lf git config --global core.eol lf
git config --global user.email "daniel.stankewitz@gmail.com" git config --global user.email "daniel.stankewitz@gmail.com"