Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2022-03-21 15:36:18 +01:00 committed by GitHub
parent c77e61ae8b
commit b29bb75259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,22 +23,34 @@ jobs:
with: with:
install: base-devel binutils autotools automake install: base-devel binutils autotools automake
path-type: inherit path-type: inherit
- name: Set up cache
uses: actions/cache@v2
env:
cache-name: cache-ffmpeg-${{ env.msysConfig }}
with:
path: cache
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 FFmpeg - name: Checkout LibOGG
uses: actions/checkout@v3.0.0 uses: actions/checkout@v3.0.0
with: with:
repository: xiph/ogg repository: xiph/ogg
ref: master ref: master
path: repo path: repo
- name: Build FFmpeg - name: Build LibOGG
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 build dist
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd repo ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --disable-shared ; make ; make install' D:\a\_temp\setup-msys2\msys2.cmd -c 'cd repo ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --disable-shared ; make -j ; make install'
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: libogg
path: libogg.tgz
ffmpeg: ffmpeg:
if: ${{ false }} if: ${{ false }}