Skip to content

Build

Build #3

Workflow file for this run

name: Build
on:
- push
- pull_request
permissions: read-all
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - windows-latest
ocaml-compiler:
- 5
runs-on: ${{ matrix.os }}
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-repositories: |
tarides: https://github.com/tarides/opam-repository.git
default: https://github.com/ocaml/opam-repository.git
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest