mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
CI
This commit is contained in:
parent
6f707c869c
commit
0605ef4a1e
2 changed files with 6 additions and 3 deletions
4
.github/workflows/gh-pages.yml
vendored
4
.github/workflows/gh-pages.yml
vendored
|
|
@ -20,10 +20,10 @@ jobs:
|
||||||
allow-prerelease-opam: true
|
allow-prerelease-opam: true
|
||||||
|
|
||||||
- name: Deps
|
- name: Deps
|
||||||
run: opam install odig moonpool
|
run: opam install odig moonpool moonpool-lwt
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: opam exec -- odig odoc --cache-dir=_doc/ moonpool
|
run: opam exec -- odig odoc --cache-dir=_doc/ moonpool moonpool-lwt
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|
|
||||||
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
ocaml-compiler:
|
ocaml-compiler:
|
||||||
- '4.08'
|
- '4.08'
|
||||||
- '4.14'
|
- '4.14'
|
||||||
- '5.0'
|
- '5.1'
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -32,7 +32,10 @@ jobs:
|
||||||
dune-cache: true
|
dune-cache: true
|
||||||
allow-prerelease-opam: true
|
allow-prerelease-opam: true
|
||||||
|
|
||||||
|
- run: opam install -t moonpool moonpool-lwt --deps-only
|
||||||
|
if: matrix.ocaml-compiler == '5.1'
|
||||||
- run: opam install -t moonpool --deps-only
|
- run: opam install -t moonpool --deps-only
|
||||||
|
if: matrix.ocaml-compiler != '5.1'
|
||||||
- run: opam exec -- dune build @install
|
- run: opam exec -- dune build @install
|
||||||
- run: opam exec -- dune runtest
|
- run: opam exec -- dune runtest
|
||||||
- run: opam install thread-local-storage trace
|
- run: opam install thread-local-storage trace
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue