GitHub CI [Linux]: install FFmpeg+deps only if cached

Otherwise installed by download_build_ffmpeg.sh
This commit is contained in:
Martin Pulec
2021-07-15 10:32:47 +02:00
parent bc3e4e1a28
commit ec2c06dfb7
2 changed files with 4 additions and 1 deletions

View File

@@ -41,3 +41,5 @@ done
--enable-libsvtvp9 \
make -j $(nproc)
sudo make install
sudo ldconfig

View File

@@ -87,7 +87,8 @@ jobs:
- name: Build FFmpeg
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: .github/scripts/Linux/download_build_ffmpeg.sh
- name: Install FFmpeg
- name: Install Cached FFmpeg
if: steps.cache-ffmpeg.outputs.cache-hit == 'true'
run: .github/scripts/Linux/install_ffmpeg.sh
- name: configure
run: "./autogen.sh --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins ${{ env.CUDA_FEATURES }} ${{ env.FEATURES }} --enable-alsa $NDI --enable-v4l2"