mirror of
https://github.com/c-cube/linol.git
synced 2026-05-05 08:54:26 -04:00
32 lines
865 B
YAML
32 lines
865 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
jobs:
|
|
build4:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/c-cube/c-cube-commmon/ci-4.14:latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: 'recursive'
|
|
- run: opam pin -n .
|
|
- run: opam depext -yt linol linol-lwt
|
|
- run: opam install linol linol-lwt --deps-only -t
|
|
- run: opam exec -- dune build -p linol,linol-lwt
|
|
- run: opam exec -- dune runtest -p linol,linol-lwt
|
|
|
|
build5:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/c-cube/c-cube-commmon/ci-5.4:latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: 'recursive'
|
|
- run: opam pin -n .
|
|
- run: opam depext -yt linol linol-lwt linol-eio
|
|
- run: opam install -t . --deps-only
|
|
- run: opam exec -- dune build
|
|
- run: opam exec -- dune runtest
|