mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 03:05:31 -05:00
chore: add github CI
This commit is contained in:
parent
8dff582612
commit
c85d7c128e
1 changed files with 20 additions and 0 deletions
20
.github/workflows/main.yml
vendored
Normal file
20
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: build
|
||||
on: [push]
|
||||
jobs:
|
||||
run:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
||||
ocaml-version: [ '4.08.0' ]
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: avsm/setup-ocaml@master
|
||||
with:
|
||||
ocaml-version: ${{ matrix.ocaml-version }}
|
||||
- run: opam pin -n .
|
||||
- run: opam depext -yt linol linol-lwt
|
||||
- run: opam install -t . --deps-only
|
||||
- run: opam exec -- dune build
|
||||
- run: opam exec -- dune runtest
|
||||
Loading…
Add table
Reference in a new issue