From b29bb75259a2bdec31af1e8cc70fb6b0717fbf6a Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Mon, 21 Mar 2022 15:36:18 +0100 Subject: [PATCH] Update ffmpeg.yml --- .github/workflows/ffmpeg.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ffmpeg.yml b/.github/workflows/ffmpeg.yml index a10e05f..1c4e395 100644 --- a/.github/workflows/ffmpeg.yml +++ b/.github/workflows/ffmpeg.yml @@ -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 }}