Skip to content

Release.

Release. #46

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install packages
run: sudo apt-get -y install ocaml-nox libyojson-ocaml-dev dune ocaml-odoc
- name: Build
run: dune build
- name: Test
run: |
sudo apt-get -y install pandoc
make -C examples test
- name: Generate documentation
run: make doc
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/default/_doc/_html