mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
CI
This commit is contained in:
parent
8a24c27c02
commit
a4a5143fa2
2 changed files with 6 additions and 1 deletions
3
.github/workflows/gh-pages.yml
vendored
3
.github/workflows/gh-pages.yml
vendored
|
|
@ -19,6 +19,9 @@ jobs:
|
|||
ocaml-compiler: '5.1.x'
|
||||
dune-cache: true
|
||||
allow-prerelease-opam: true
|
||||
#
|
||||
# TODO: remove when it's on opam
|
||||
- run: opam pin ambient-context https://github.com/ocaml-tracing/ocaml-ambient-context.git -y -n
|
||||
|
||||
- name: Deps
|
||||
run: opam install odig opentelemetry opentelemetry-lwt opentelemetry-client-ocurl opentelemetry-cohttp-lwt
|
||||
|
|
|
|||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -46,6 +46,9 @@ jobs:
|
|||
opam pin pbrt 3.0.1 -y -n
|
||||
opam install pbrt -y
|
||||
|
||||
# TODO: remove when it's on opam
|
||||
- run: opam pin ambient-context https://github.com/ocaml-tracing/ocaml-ambient-context.git -y -n
|
||||
|
||||
# We cannot install packages that need eio on ocaml versions before 5
|
||||
- run: |
|
||||
packages=$(ls ./*.opam | grep -v eio)
|
||||
|
|
@ -59,7 +62,6 @@ jobs:
|
|||
- run: opam exec -- dune build @install -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt,opentelemetry-client-cohttp-lwt,opentelemetry-logs
|
||||
|
||||
- run: opam pin trace --dev -y -n
|
||||
- run: opam pin ambient-context https://github.com/ocaml-tracing/ocaml-ambient-context.git -y -n
|
||||
- run: opam install trace ambient-context
|
||||
|
||||
- run: opam exec -- dune build @install -p opentelemetry
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue