mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
chore: try to fix gh-pages CI
This commit is contained in:
parent
586e16e1c5
commit
d235d8ab8c
1 changed files with 7 additions and 12 deletions
19
.github/workflows/gh-pages.yml
vendored
19
.github/workflows/gh-pages.yml
vendored
|
|
@ -10,27 +10,22 @@ jobs:
|
||||||
name: Deploy doc
|
name: Deploy doc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# needed for depext to work
|
# needed for depext to work
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update && echo 1
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
|
|
||||||
- name: Use OCaml
|
- name: Use OCaml ${{ matrix.ocaml-compiler }}
|
||||||
uses: ocaml/setup-ocaml@v2
|
uses: ocaml/setup-ocaml@v2
|
||||||
with:
|
with:
|
||||||
ocaml-compiler: '4.13.x'
|
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||||
|
opam-depext-flags: --with-test
|
||||||
|
|
||||||
- name: Pin
|
- run: opam install . --with-doc --deps-only --with-test
|
||||||
run: opam pin -n .
|
|
||||||
|
|
||||||
- name: Depext
|
|
||||||
run: opam depext -yt opentelemetry opentelemetry-lwt opentelemetry-client-ocurl opentelemetry-cohttp-lwt
|
|
||||||
|
|
||||||
- name: Deps
|
|
||||||
run: opam install -d . --deps-only
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: opam exec -- dune build @doc -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt
|
run: opam exec -- dune build @doc -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue