sidekick/.github/workflows/main.yml
Simon Cruanes ceb0b09426 chore: disable CI on mac OS for now
- no particular system dependency, so low chances of breaking on mac OS
- in CI, takes a while
2021-07-04 18:39:07 -04:00

27 lines
696 B
YAML

name: Build sidekick-bin
on: [push]
jobs:
run:
name: Build
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
#- macos-latest # clogs CI
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-base sidekick-bin
- run: opam install -t . --deps-only
- run: opam exec -- dune build
- run: opam exec -- dune runtest
if: ${{ matrix.os == 'ubuntu-latest'}}