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