Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,38 @@ jobs:
matrix:
os: [ubuntu-latest] # , macos-latest, windows-latest]
ocaml-compiler:
- "5.3.0" # Latest stable
- "5.2.0"
- "5.3.0"

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

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Checkout raven-ml/raven
uses: actions/checkout@v4
with:
repository: raven-ml/raven
path: raven

- name: Set up OCaml ${{ matrix.ocaml-compiler }} on ${{ matrix.os }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true

# temporary, waiting for the conf-soxr package to be published to opam repo
- name: Install libsoxr-dev
run: |
sudo apt-get update
sudo apt-get install -y libsoxr-dev
shell: bash

- name: Pin raven packages from working directory
run: opam pin add ./raven --working-dir --yes
- name: Install libsndfile, libsamplerate and librubberband
run: |
sudo apt-get install libsndfile-dev libsamplerate0-dev librubberband-dev

- name: Install llvm # required for rune
run: |
sudo apt-get install libllvm-20-ocaml-dev libllvm20 llvm-20 llvm-20-dev llvm-20-doc llvm-20-examples llvm-20-runtime

- name: Lock the dependencies
run: opam exec -- dune pkg lock
shell: bash

- name: Install SoundML
run: opam install . --yes --confirm-level=unsafe-yes
shell: bash
- name: Build SoundML
run: opam exec -- dune build
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up OCaml for linting
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.2"
ocaml-compiler: "5.3"
dune-cache: true
- name: Run OCaml Lint & Format Check
uses: ocaml/setup-ocaml/lint-fmt@v2
uses: ocaml/setup-ocaml/lint-fmt@v2
25 changes: 11 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
matrix:
os: [ubuntu-latest] # , macos-latest, windows-latest]
ocaml-compiler:
- "5.3.0" # Latest stable
- "5.2.0"
- "5.3.0"
include:
- os: ubuntu-latest
ocaml-compiler: "5.3.0"
Expand All @@ -30,12 +29,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Checkout raven-ml/raven
uses: actions/checkout@v4
with:
repository: raven-ml/raven
path: raven

- name: Set up OCaml ${{ matrix.ocaml-compiler }} on ${{ matrix.os }}
uses: ocaml/setup-ocaml@v3
with:
Expand All @@ -55,16 +48,20 @@ jobs:
sudo apt-get install -y libsoxr-dev
shell: bash

- name: Install libsndfile, libsamplerate and librubberband
run: |
sudo apt-get install libsndfile-dev libsamplerate0-dev librubberband-dev

- name: Install llvm # required for rune
run: |
sudo apt-get install libllvm-20-ocaml-dev libllvm20 llvm-20 llvm-20-dev llvm-20-doc llvm-20-examples llvm-20-runtime

- name: Install FFmpeg CLI (to generate test data)
run: sudo apt-get install -y ffmpeg
shell: bash

- name: Pin raven packages from working directory
run: opam pin add ./raven --working-dir --yes
shell: bash

- name: Install SoundML dependencies (with test)
run: opam install . --deps-only --with-test --yes --confirm-level=unsafe-yes --verbose
- name: Lock dune packages
run: opam exec -- dune pkg lock
shell: bash

- name: Run tests
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
_build
dune.lock
dev-tools.locks
dataset/
cache/
report/
Expand All @@ -10,4 +11,5 @@ report/
wav/
mp3/
bench/.DS_Store
databench/
databench/
.DS_Store
Binary file removed bench/.DS_Store
Binary file not shown.
127 changes: 0 additions & 127 deletions bench/read/bench.py

This file was deleted.

Loading
Loading