mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
Merge remote-tracking branch 'origin/wip-github-ci'
This commit is contained in:
commit
1f1b859ec7
2 changed files with 25 additions and 1 deletions
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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@main
|
||||
- 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
|
||||
if: ${{ job.os == 'Linux' }}
|
||||
- run: opam install . --deps-only # no test deps
|
||||
if: ${{ job.os != 'Linux' }}
|
||||
- run: opam exec -- dune build
|
||||
- run: opam exec -- dune runtest
|
||||
if: ${{ job.os == 'Linux' }}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# OCaml-containers 📦 [](https://travis-ci.org/c-cube/ocaml-containers)
|
||||
# OCaml-containers 📦 [](https://travis-ci.org/c-cube/ocaml-containers) 
|
||||
|
||||
A modular, clean and powerful extension of the OCaml standard library.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue