GitHub CI: build own FFmpeg [Linux]

The one in repository no longer contains NVENC and it is perhaps better
not to rely on a third-party PPA.
This commit is contained in:
Martin Pulec
2020-06-30 16:49:17 +02:00
parent b25998a05e
commit 0fda3dadef
4 changed files with 28 additions and 4 deletions

View File

@@ -76,6 +76,17 @@ jobs:
run: |
. .github/scripts/environment.sh
.github/scripts/Linux/prepare.sh
- name: Cache FFmpeg
id: cache-ffmpeg
uses: actions/cache@v1
with:
path: '/var/tmp/ffmpeg'
key: cache-ffmpeg-3
- name: Build FFmpeg
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: .github/scripts/Linux/download_build_ffmpeg.sh
- name: Install FFmpeg
run: .github/scripts/Linux/install_ffmpeg.sh
- name: configure
run: "[ ${{ github.ref }} != refs/heads/ndi-build ] && NDI=-disable-ndi; ./autogen.sh --enable-qt --with-cuda-host-compiler=$CUDA_HOST_COMPILER --enable-plugins --enable-jack-transport=force --with-live555=/usr/local $NDI"
- name: make