mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
36 lines
798 B
YAML
36 lines
798 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.13.x'
|
|
|
|
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 }}
|
|
|
|
- run: opam pin -n .
|
|
- run: opam depext -y containers containers-data containers-thread
|
|
- run: opam install containers containers-data containers-thread --deps-only
|
|
- run: opam exec -- dune build '@install'
|