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:
install: base-devel binutils autotools automake
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
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout FFmpeg
- name: Checkout LibOGG
uses: actions/checkout@v3.0.0
with:
repository: xiph/ogg
ref: master
path: repo
- name: Build FFmpeg
- name: Build LibOGG
shell: cmd
run: |
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
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:
if: ${{ false }}