mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
CI
This commit is contained in:
parent
1a23731730
commit
9d48d228ef
3 changed files with 4 additions and 40 deletions
36
.github/workflows/compat.yml
vendored
36
.github/workflows/compat.yml
vendored
|
|
@ -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'
|
||||
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue