GitHub CI: do not build static FFmpeg [Linux]

This commit is contained in:
Martin Pulec
2020-07-01 21:46:29 +02:00
parent 0fda3dadef
commit c715cabe8d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,5 +4,5 @@ git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git /var/tmp/ffmpeg
cd /var/tmp/ffmpeg
( git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git && cd nv-codec-headers && make && sudo make install )
( git clone --depth 1 https://aomedia.googlesource.com/aom && mkdir -p aom/build && cd aom/build && cmake -DBUILD_SHARED_LIBS=1 .. && make && sudo make install )
./configure --enable-shared --enable-gpl --enable-libx264 --enable-libopus --enable-nonfree --enable-nvenc --enable-libaom --enable-libvpx
./configure --disable-static --enable-shared --enable-gpl --enable-libx264 --enable-libopus --enable-nonfree --enable-nvenc --enable-libaom --enable-libvpx
make

View File

@@ -81,7 +81,7 @@ jobs:
uses: actions/cache@v1
with:
path: '/var/tmp/ffmpeg'
key: cache-ffmpeg-3
key: cache-ffmpeg-4
- name: Build FFmpeg
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: .github/scripts/Linux/download_build_ffmpeg.sh