Skip to content

Update GitHub Actions #42

Update GitHub Actions

Update GitHub Actions #42

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
ocaml-version:
- 5
- 4
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- run: opam install . --deps-only
- run: opam exec -- dune build @install
- run: opam exec -- dune runtest