Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jan 1, 2024
1 parent f40e140 commit 6a6a44a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -14,15 +14,32 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- name: Install locally
run: opam install . --deps-only --with-test

- name: Build locally
run: opam exec -- dune build

- name: Run tests locally
run: opam exec -- dune runtest

- name: Build documentation
run: opam exec -- dune build @doc

- name: Set-up Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: _build/default/_doc/_html

- name: Deploy odoc to GitHub Pages
uses: ocaml/deploy-doc@v2
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit 6a6a44a

Please sign in to comment.