Compare commits

..

2 commits

Author SHA1 Message Date
Simon Cruanes
12dda4a8a9
CI 2026-03-13 14:53:40 -04:00
Simon Cruanes
f32199f2c8
more robust dune rule 2026-03-13 14:45:17 -04:00
2 changed files with 8 additions and 4 deletions

View file

@ -61,9 +61,9 @@ jobs:
- run: opam exec -- dune build @install -p opentelemetry
- run: opam install lwt.6.1.1 -y
if: ${{ startsWith(matrix.ocaml-compiler, '5') }}
if: ${{ matrix.ocaml-compiler == '5.3.x' }}
- run: opam exec -- dune build @install -p opentelemetry,opentelemetry-client,opentelemetry-lwt,opentelemetry-client-cohttp-lwt
if: ${{ startsWith(matrix.ocaml-compiler, '5') }}
if: ${{ matrix.ocaml-compiler == '5.3.x' }}
- run: opam install ocaml-protoc
- run: opam exec -- dune build @lint

View file

@ -28,12 +28,16 @@
(rule
(enabled_if
(>= %{version:lwt} 6.0))
(and
%{lib-available:lwt}
(>= %{version:lwt} 6.0)))
(action
(copy types_.ml.6 types_.ml)))
(rule
(enabled_if
(< %{version:lwt} 6.0))
(and
%{lib-available:lwt}
(< %{version:lwt} 6.0)))
(action
(copy types_.ml.5 types_.ml)))