Skip to content

Drop support for OCaml 4.7 to 4.10 + Cleanup #233

Drop support for OCaml 4.7 to 4.10 + Cleanup

Drop support for OCaml 4.7 to 4.10 + Cleanup #233

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
ocaml-version: [
4.11.0, 4.11.1, 4.11.2,
4.12.0,
4.13.0, 4.13.1,
4.14.0, 4.14.1,
5.0.0,
5.1.0, 5.1.1
]
runs-on: "ubuntu-latest"
steps:
- name: "Checking out the repo..."
uses: actions/checkout@v2
- name: "Recovering cached opam files..."
uses: actions/cache@v2
with:
path: ~/.opam
key: ${{ runner.os }}-ocaml-${{ matrix.ocaml-version }}
- name: "Setting up opam..."
uses: avsm/setup-ocaml@v1
with:
ocaml-version: ${{ matrix.ocaml-version }}
- name: "Installing dependencies..."
run: |
eval $(opam env)
opam update
opam upgrade
opam pin add -n -k path bindlib .
opam install --deps-only -d -t bindlib
- name: "Running tests..."
run: |
eval $(opam env)
make
make tests