diff --git a/.github/workflows/ffmpeg.yml b/.github/workflows/ffmpeg.yml index bf0f221..75bae28 100644 --- a/.github/workflows/ffmpeg.yml +++ b/.github/workflows/ffmpeg.yml @@ -228,6 +228,7 @@ jobs: path: dist/libvpx.tgz libfdk-aac: + if: ${{ false }} runs-on: windows-2019 steps: - name: Set up MSYS2 @@ -252,7 +253,7 @@ jobs: repository: mstorsjo/fdk-aac ref: master path: fdk-aac - - name: Build LibVpx + - name: Build FDK AAC shell: cmd run: | call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat" @@ -266,11 +267,31 @@ jobs: path: dist/libfdkaac.tgz libmp3lame: - if: ${{ false }} runs-on: windows-2019 steps: - name: Set up MSYS2 - run: echo "bla" + uses: msys2/setup-msys2@v2 + with: + install: base-devel binutils autotools automake mingw-w64-x86_64-cmake nasm svn + 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: Build LAME + shell: cmd + run: | + call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat" + md build dist + D:\a\_temp\setup-msys2\msys2.cmd -c 'svn co svn://svn.code.sf.net/p/lame/svn/trunk/lame@6474 lame ; cd lame ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --enable-nasm --disable-frontend --disable-shared --enable-static ; make -j ; make install ; cd ../build ; tar czf ../dist/libmp3lame.tgz * + - name: Publish artifact + uses: actions/upload-artifact@v2 + with: + name: libmp3lame + path: dist/libmp3lame.tgz libzimg: if: ${{ false }}