Skip to content

Commit

Permalink
Updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyfle committed Nov 6, 2024
1 parent 17ba8c0 commit ac8e0de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "5.1"
- "5.2"

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -29,6 +26,11 @@ jobs:
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- name: Install ffmpeg with development headers
run: |
sudo apt update
sudo apt install -y ffmpeg libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev libswscale-dev libavutil-dev libswresample-dev
- name: Install dependencies
run: opam install . --deps-only --with-test

Expand All @@ -39,11 +41,9 @@ jobs:
run: opam exec -- dune runtest

- name: Build SoundML documentation
if: matrix.os == 'ubuntu-latest'
run: opam install odoc && opam exec -- dune build @doc

- name: Upload odoc documentation
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: doc
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Install OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
ocaml-compiler: "5.2"
dune-cache: true

- uses: ocaml/setup-ocaml/lint-fmt@v2
Expand Down

0 comments on commit ac8e0de

Please sign in to comment.