Skip to content

Commit ee9387e

Browse files
committed
Run benchmarks on OCaml 5.1
1 parent ce31491 commit ee9387e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_build

bench.Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ocaml/opam:debian-ocaml-5.1
2+
RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
3+
WORKDIR bench-dir
4+
RUN opam remote add origin https://opam.ocaml.org && \
5+
opam update
6+
COPY *.opam ./
7+
RUN opam pin -yn --with-version=dev .
8+
RUN opam install -y --deps-only --with-test .
9+
COPY . ./
10+
RUN opam exec -- dune build --release bench/main.exe

0 commit comments

Comments
 (0)