Skip to content

WIP: Process .cma's, .cmi's and toplevel js files #387

WIP: Process .cma's, .cmi's and toplevel js files

WIP: Process .cma's, .cmi's and toplevel js files #387

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- 5.0.x
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: Install opam packages
run: opam install . --with-test --deps-only
- name: Run build
run: opam exec -- dune build --root .
- name: Run the unit tests
run: opam exec -- dune test --root .