Skip to content

Update GitHub Actions #59

Update GitHub Actions

Update GitHub Actions #59

Workflow file for this run

name: Main workflow
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- "5.0"
- "4.14"
- "4.13"
- "4.08"
exclude:
- os: macos-latest
ocaml-compiler: "4.08"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune build @runtest