sidekick/.github/workflows/main.yml
Simon Cruanes e3a8422ab0 udpate CI; bump minimal ocaml to 4.04; add auto-doc
run simplex tests only on OCaml >= 4.08
2021-06-10 12:57:23 -04:00

27 lines
682 B
YAML

name: Build sidekick-bin
on: [push]
jobs:
run:
name: Build
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.04.x
- 4.10.x
- 4.12.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin -n .
- run: opam depext -yt sidekick sidekick-arith sidekick-bin
- run: opam install -t . --deps-only
- run: opam exec -- dune build
- run: opam exec -- dune runtest
if: ${{ matrix.os == 'ubuntu-latest'}}