Skip to content

Add ocaml compiler version #123

Add ocaml compiler version

Add ocaml compiler version #123

Workflow file for this run

name: Builds, tests & co
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "dev", "ci" ]
pull_request:
branches: [ "dev", "ci" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions: read-all
jobs:
build:
strategy:
fail-fast: false
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest