disable xlib in ffmpeg build flags (#448)

This was causing MacOS builds to fail for some reason.

Also temporarily GPU tests in CI until we get a runner back
This commit is contained in:
Josh Allmann
2026-04-01 17:19:06 -07:00
committed by GitHub
parent c3bc6156df
commit 5fe66b1044
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ concurrency:
jobs:
build:
name: Test and build lpms project
runs-on: gpu-amd64
runs-on: ubuntu-24.04
container:
image: livepeerci/cuda:11.7.1-cudnn8-devel-ubuntu20.04
env:
@@ -95,7 +95,7 @@ jobs:
- name: Test
shell: bash
run: PATH="/github/home/compiled/bin:$PATH" go test --tags=nvidia -timeout 1h -coverprofile cover.out ./...
run: PATH="/github/home/compiled/bin:$PATH" go test -timeout 1h -coverprofile cover.out ./...
- name: Upload coverage reports
uses: codecov/codecov-action@v4
+1
View File
@@ -211,6 +211,7 @@ else
# disable all unnecessary features for production build
DISABLE_FFMPEG_COMPONENTS+=" --disable-doc --disable-sdl2 --disable-iconv --disable-muxers --disable-demuxers --disable-parsers --disable-protocols "
DISABLE_FFMPEG_COMPONENTS+=" --disable-encoders --disable-decoders --disable-filters --disable-bsfs --disable-postproc --disable-lzma "
DISABLE_FFMPEG_COMPONENTS+=" --disable-xlib "
fi
if [[ ! -e "$ROOT/ffmpeg/libavcodec/libavcodec.a" ]]; then