Skip to content

faster doc build

faster doc build #59

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
run:
name: Build
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
# macOS is just too slow, ugh
#- macos-latest
ocaml-compiler:
- 4.08.x
- 4.14.x
# TODO: - 5.1.x # https://github.com/ocaml/setup-ocaml/issues/733
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
- run: opam pin -n .
- run: opam depext -yt iter
- run: opam install -t . --deps-only
- run: opam exec -- dune build @src/install
- run: opam exec -- dune runtest tests/
if: ${{ matrix.os == 'ubuntu-latest'}}