Update ffmpeg.yml
This commit is contained in:
parent
d90bf363bb
commit
e63d5a5a19
23
.github/workflows/ffmpeg.yml
vendored
23
.github/workflows/ffmpeg.yml
vendored
@ -68,6 +68,7 @@ jobs:
|
|||||||
path: dist/liboggvorbis.tgz
|
path: dist/liboggvorbis.tgz
|
||||||
|
|
||||||
libvpl:
|
libvpl:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
@ -108,7 +109,6 @@ jobs:
|
|||||||
path: dist/onevpl.tgz
|
path: dist/onevpl.tgz
|
||||||
|
|
||||||
libsvtav1:
|
libsvtav1:
|
||||||
if: ${{ false }}
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
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 Ogg
|
- name: Checkout SVT AV1
|
||||||
uses: actions/checkout@v3.0.0
|
uses: actions/checkout@v3.0.0
|
||||||
with:
|
with:
|
||||||
repository: xiph/ogg
|
repository: xiph/ogg
|
||||||
@ -136,27 +136,20 @@ jobs:
|
|||||||
- name: Checkout Vorbis
|
- name: Checkout Vorbis
|
||||||
uses: actions/checkout@v3.0.0
|
uses: actions/checkout@v3.0.0
|
||||||
with:
|
with:
|
||||||
repository: xiph/vorbis
|
repository: AOMediaCodec/SVT-AV1
|
||||||
ref: master
|
ref: master
|
||||||
path: vorbis
|
path: svtav1
|
||||||
- name: Build Ogg
|
- name: Build SVT AV1
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||||
md build
|
md build
|
||||||
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd ogg ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --disable-shared ; make -j ; make install'
|
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd svtav1/Build/windows ; ./build.bat 2017 ${{ env.msysConfig }} static ; cp -r ../../Source/API ../../../build/include/svt-av1 ; cp ../../Bin/${{ env.msysConfig }}/SvtAv1Enc.lib ../../../build/lib/ ; cp SvtAv1Enc.pc ../../../build/lib/pkgconfig/ ; cd ../../../build ; tar czf ../dist/libsvtav1.tgz *'
|
||||||
- name: Build Vorbis
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
|
||||||
md dist
|
|
||||||
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd vorbis ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --disable-shared ; make -j ; make install ; sed -i '/^Libs\.private.*/d' ../build/lib/pkgconfig/vorbis.pc ; cd ../build ; tar czf ../dist/liboggvorbis.tgz *'
|
|
||||||
echo "switches=${{env.switches}} --enable-encoder=libopus --enable-encoder=libvorbis" >> $GITHUB_ENV
|
|
||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: liboggvorbis
|
name: libsvtav1
|
||||||
path: dist/liboggvorbis.tgz
|
path: dist/libsvtav1.tgz
|
||||||
|
|
||||||
libsnappy:
|
libsnappy:
|
||||||
if: ${{ false }}
|
if: ${{ false }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user