ocaml-containers/.github/workflows/compat.yml
Fardale 8607de2749 CI(chore): remove explicite pin and deps install
Pinning and installation of the dependency is already done by
setup-ocaml
2023-02-15 11:02:09 +01:00

36 lines
818 B
YAML

name: compat
on:
push:
branches:
- master
pull_request:
jobs:
run:
name: build
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- '4.03.x'
- '4.06.x'
- '4.07.x'
- '4.08.x'
- '4.14.x'
- '5.0.x'
- 'ocaml-variants.5.0.0+options,ocaml-option-bytecode-only'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
- run: opam install containers containers-data containers-thread --deps-only
- run: opam exec -- dune build '@install'