mirror of
https://github.com/livepeer/lpms
synced 2026-04-22 15:57:25 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user