Skip to content

test gh CI

test gh CI #11

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
build:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.14.x
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install corosync
uses: ConorMacBride/install-package@v1
with:
apt: libcorosync-common-dev libcmap-dev libquorum-dev libvotequorum-dev libcpg-dev libcfg-dev
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest