From 36aca770a46aa2eb97d2e25d1ce0ef5472efca56 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 8 Jul 2020 08:35:04 +0200 Subject: [PATCH] GitHub CI: use NVENC SDK 8.1 Master branch of nv-codec-headers implies current CUDA runtime (including drivers), thus use an old version to relax the requirement a bit. (SDK 8.0 is not compatible with current FFmpeg master) --- .github/scripts/Linux/download_build_ffmpeg.sh | 2 +- .github/workflows/ccpp.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/Linux/download_build_ffmpeg.sh b/.github/scripts/Linux/download_build_ffmpeg.sh index 6b1d55b45..74ad367f8 100755 --- a/.github/scripts/Linux/download_build_ffmpeg.sh +++ b/.github/scripts/Linux/download_build_ffmpeg.sh @@ -2,7 +2,7 @@ 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 -b sdk/8.1 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 --disable-static --enable-shared --enable-gpl --enable-libx264 --enable-libopus --enable-nonfree --enable-nvenc --enable-libaom --enable-libvpx make diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index f36952a6b..64110b418 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -81,7 +81,7 @@ jobs: uses: actions/cache@v1 with: path: '/var/tmp/ffmpeg' - key: cache-ffmpeg-4 + key: cache-ffmpeg-5 - name: Build FFmpeg if: steps.cache-ffmpeg.outputs.cache-hit != 'true' run: .github/scripts/Linux/download_build_ffmpeg.sh