Skip to content

Commit 686470e

Browse files
committed
Explicitly install ubuntu deps in ci
1 parent b3993d1 commit 686470e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
uses: ocaml/setup-ocaml@v2
2222
with:
2323
ocaml-compiler: "4.14.1"
24+
- if: matrix.os == 'ubuntu-latest'
25+
name: 'Install dependencies (ubuntu)'
26+
run: |
27+
sudo apt update
28+
sudo apt install libasound2-dev libsdl2-dev
2429
- run: opam install . --deps-only --with-test
2530
- run: opam exec -- dune build
2631
- run: opam exec -- dune runtest
@@ -48,6 +53,11 @@ jobs:
4853
with:
4954
ocaml-compiler: "4.14.1"
5055
opam-depext-flags: tsdl,conf-pkg-config,conf-alsa
56+
- if: matrix.os == 'ubuntu-latest'
57+
name: 'Install dependencies (ubuntu)'
58+
run: |
59+
sudo apt update
60+
sudo apt install libasound2-dev libsdl2-dev
5161
- if: matrix.os == 'macOS-latest'
5262
name: Set-up OCaml
5363
uses: ocaml/setup-ocaml@v2

0 commit comments

Comments
 (0)