Skip to content

Commit

Permalink
Run benchmarks on OCaml 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed Jan 25, 2024
1 parent ce31491 commit 0b846c3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build
10 changes: 10 additions & 0 deletions bench.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ocaml/opam:debian-ocaml-5.1
RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
WORKDIR bench-dir
RUN opam remote add origin https://opam.ocaml.org && \
opam update
COPY *.opam ./
RUN opam pin -yn --with-version=dev .
RUN opam install -y --deps-only --with-test .
COPY . ./
RUN opam exec -- dune build --release bench/main.exe

0 comments on commit 0b846c3

Please sign in to comment.