This commit is contained in:
Simon Cruanes 2023-06-24 15:23:58 -04:00
parent 1a23731730
commit 9d48d228ef
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 4 additions and 40 deletions

View file

@ -1,36 +0,0 @@
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'

View file

@ -15,7 +15,7 @@ jobs:
- name: Use OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: '4.14.x'
ocaml-compiler: '4.14'
dune-cache: false
- name: Deps

View file

@ -17,9 +17,9 @@ jobs:
- ubuntu-latest
#- windows-latest
ocaml-compiler:
- '4.03.x'
- '4.14.x'
- '5.0.x'
- '4.08'
- '4.14'
- '5.0'
- 'ocaml-variants.5.0.0+options,ocaml-option-bytecode-only'
runs-on: ${{ matrix.os }}