mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
- no particular system dependency, so low chances of breaking on mac OS - in CI, takes a while
27 lines
696 B
YAML
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'}}
|