Skip to content

update github action #227

update github action

update github action #227

Workflow file for this run

name: Build
on:
- pull_request
- push
jobs:
build-native:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-version:
- '4.14'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v2
with:
ocaml-version: ${{ matrix.ocaml-version }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest