mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
chore: add github ci
This commit is contained in:
parent
8b41a2bf69
commit
c2cab292b1
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: build
|
||||
on: [push]
|
||||
jobs:
|
||||
run:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
matrix:
|
||||
#operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
||||
operating-system: [ubuntu-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 containers containers-data containers-thread
|
||||
- run: opam install -t . --deps-only
|
||||
- run: opam exec -- dune build
|
||||
- run: opam exec -- dune runtest
|
||||
Loading…
Add table
Reference in a new issue