Skip to content

Commit 5fe66b1

Browse files
authored
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
1 parent c3bc615 commit 5fe66b1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
jobs:
1414
build:
1515
name: Test and build lpms project
16-
runs-on: gpu-amd64
16+
runs-on: ubuntu-24.04
1717
container:
1818
image: livepeerci/cuda:11.7.1-cudnn8-devel-ubuntu20.04
1919
env:
@@ -95,7 +95,7 @@ jobs:
9595
9696
- name: Test
9797
shell: bash
98-
run: PATH="/github/home/compiled/bin:$PATH" go test --tags=nvidia -timeout 1h -coverprofile cover.out ./...
98+
run: PATH="/github/home/compiled/bin:$PATH" go test -timeout 1h -coverprofile cover.out ./...
9999

100100
- name: Upload coverage reports
101101
uses: codecov/codecov-action@v4

install_ffmpeg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ else
211211
# disable all unnecessary features for production build
212212
DISABLE_FFMPEG_COMPONENTS+=" --disable-doc --disable-sdl2 --disable-iconv --disable-muxers --disable-demuxers --disable-parsers --disable-protocols "
213213
DISABLE_FFMPEG_COMPONENTS+=" --disable-encoders --disable-decoders --disable-filters --disable-bsfs --disable-postproc --disable-lzma "
214+
DISABLE_FFMPEG_COMPONENTS+=" --disable-xlib "
214215
fi
215216

216217
if [[ ! -e "$ROOT/ffmpeg/libavcodec/libavcodec.a" ]]; then

0 commit comments

Comments
 (0)