only try lwt 6 on OCaml >= 5

This commit is contained in:
Simon Cruanes 2026-03-13 13:40:26 -04:00
parent 0a5191b1e4
commit b2983288c2
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -61,7 +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') }}
- run: opam exec -- dune build @install -p opentelemetry,opentelemetry-client,opentelemetry-lwt,opentelemetry-client-cohttp-lwt
if: ${{ startsWith(matrix.ocaml-compiler, '5') }}
- run: opam install ocaml-protoc
- run: opam exec -- dune build @lint