Update ffmpeg.yml
This commit is contained in:
parent
2e0bea186f
commit
beb51219ed
73
.github/workflows/ffmpeg.yml
vendored
73
.github/workflows/ffmpeg.yml
vendored
@ -71,42 +71,42 @@ jobs:
|
|||||||
if: ${{ false }}
|
if: ${{ false }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
install: base-devel binutils autotools automake
|
install: base-devel binutils autotools automake
|
||||||
path-type: inherit
|
path-type: inherit
|
||||||
- name: Set up cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
env:
|
||||||
cache-name: cache-ffmpeg-${{ env.msysConfig }}
|
cache-name: cache-ffmpeg-${{ env.msysConfig }}
|
||||||
with:
|
with:
|
||||||
path: cache
|
path: cache
|
||||||
key: cache-key
|
key: cache-key
|
||||||
- name: Set up GIT
|
- name: Set up GIT
|
||||||
run: |
|
run: |
|
||||||
git config --global core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
- name: Checkout oneVPL
|
- name: Checkout oneVPL
|
||||||
uses: actions/checkout@v3.0.0
|
uses: actions/checkout@v3.0.0
|
||||||
with:
|
with:
|
||||||
repository: oneapi-src/oneVPL
|
repository: oneapi-src/oneVPL
|
||||||
ref: master
|
ref: master
|
||||||
path: onevpl
|
path: onevpl
|
||||||
- name: Build oneVPL
|
- name: Build oneVPL
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||||
md temp build dist
|
md temp build dist
|
||||||
cd temp
|
cd temp
|
||||||
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
|
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/libvpl.tgz *'
|
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd ../build ; tar czf ../dist/libvpl.tgz *'
|
||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: libvpl
|
name: libvpl
|
||||||
path: dist/libvpl.tgz
|
path: dist/libvpl.tgz
|
||||||
|
|
||||||
libsvtav1:
|
libsvtav1:
|
||||||
if: ${{ false }}
|
if: ${{ false }}
|
||||||
@ -190,7 +190,6 @@ jobs:
|
|||||||
path: dist/libsnappy.tgz
|
path: dist/libsnappy.tgz
|
||||||
|
|
||||||
libvpx:
|
libvpx:
|
||||||
if: ${{ false }}
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user