Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2022-03-21 19:23:07 +01:00 committed by GitHub
parent 011d96337e
commit 9f3a20fb1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ jobs:
name: liboggvorbis name: liboggvorbis
path: dist/liboggvorbis.tgz path: dist/liboggvorbis.tgz
onevpl: libvpl:
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
- name: Set up MSYS2 - name: Set up MSYS2
@ -96,9 +96,9 @@ jobs:
shell: cmd shell: cmd
run: | run: |
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat" call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
md build dist md temp build dist
cd build cd temp
cmake.exe -G "Visual Studio 16 2019" ..\repos\oneVPL -T host=x64 -A x64 -DBUILD_TOOLS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=..\build -DCMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD=ON cmake.exe -G "Visual Studio 16 2019" ..\onevpl -T host=x64 -A x64 -DBUILD_TOOLS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=..\build -DCMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD=ON
MSBuild.exe -t:VPL,INSTALL -p:Configuration=${{ env.winConfig }} -m oneVPL.sln MSBuild.exe -t:VPL,INSTALL -p:Configuration=${{ env.winConfig }} -m oneVPL.sln
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd build ; tar czf ../dist/onevpl.tgz *' D:\a\_temp\setup-msys2\msys2.cmd -c 'cd build ; tar czf ../dist/onevpl.tgz *'
- name: Publish artifact - name: Publish artifact
@ -173,7 +173,7 @@ jobs:
ffmpeg: ffmpeg:
if: ${{ false }} if: ${{ false }}
runs-on: windows-2019 runs-on: windows-2019
needs: [onevpl,libsvtav1,libsnappy,libvpx,libfdk-aac,libmp3lame,libzimg,libopus,liboggvorbis,libx264,libx265] needs: [libvpl,libsvtav1,libsnappy,libvpx,libfdk-aac,libmp3lame,libzimg,libopus,liboggvorbis,libx264,libx265]
steps: steps:
- name: Set up MSYS2 - name: Set up MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2