Skip to content

Windows fixes + OCAMLPATH compatibility #88

Windows fixes + OCAMLPATH compatibility

Windows fixes + OCAMLPATH compatibility #88

Workflow file for this run

name: Main workflow
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 5.1.0~rc1
- 5.0.0
- 4.14.0
- 4.13.1
- 4.12.1
- 4.11.2
- 4.10.2
- 4.09.1
- 4.08.1
runs-on: ${{ matrix.os }}
env:
OPAMCONFIRMLEVEL: unsafe-yes
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: echo | sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --dev
- run: sudo apt-get install bubblewrap
- run: opam init --compiler ${{ matrix.ocaml-version }}
- run: opam install --deps-only . --with-test --with-doc
- run: opam exec -- dune build @install
- run: opam exec -- dune build @runtest
- run: opam exec -- dune build @doc
- run: opam install .
- run: opam reinstall -t .
- run: opam reinstall -d .