Skip to content

Commit feadc13

Browse files
Mirror of savonet/liquidsoap#5185: xiph: install ffmpeg before running citest
1 parent 3ea55b1 commit feadc13

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,16 @@ jobs:
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
20+
- name: Install deps
21+
run: |
22+
if [ "$RUNNER_OS" = "macOS" ]; then
23+
brew install ffmpeg flac libogg libvorbis speex theora opus
24+
else
25+
sudo apt-get update && sudo apt-get install -y ffmpeg libflac-dev libogg-dev libvorbis-dev libspeex-dev libtheora-dev libopus-dev
26+
fi
27+
shell: bash
2028
- name: Build and test module
2129
uses: savonet/build-and-test-ocaml-module@main
2230
with:
2331
ocaml-compiler: ${{ matrix.compiler }}
24-
- name: Run CI tests
25-
run: |
26-
opam exec dune build @xiph_citest
32+
test-target: xiph_citest

speex/examples/gen/gen.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let () =
99
executable "wav2speex" "wav2speex" ["speex"];
1010
print_string
1111
{|(rule
12-
(alias runtest)
12+
(alias xiph_citest)
1313
(package speex)
1414
(deps
1515
(:speex test.ogg)

0 commit comments

Comments
 (0)