From c2cab292b133e7cf8f4cd6b005b9c128f1ad2d7c Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 22 Jul 2020 17:40:59 -0400 Subject: [PATCH] chore: add github ci --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..24b0dbcd --- /dev/null +++ b/.github/workflows/main.yml @@ -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