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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
# needed for depext to work
|
||||
- run: sudo apt-get update
|
||||
- run: sudo apt-get update && echo 1
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
|
||||
- name: Use OCaml
|
||||
- name: Use OCaml ${{ matrix.ocaml-compiler }}
|
||||
uses: ocaml/setup-ocaml@v2
|
||||
with:
|
||||
ocaml-compiler: '4.13.x'
|
||||
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||
opam-depext-flags: --with-test
|
||||
|
||||
- name: Pin
|
||||
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
|
||||
- run: opam install . --with-doc --deps-only --with-test
|
||||
|
||||
- name: Build
|
||||
run: opam exec -- dune build @doc -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue