Add onix-based flake, associated make task, and .envrc template #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push] | |
jobs: | |
run: | |
name: Build | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
ocaml-compiler: [ '4.08.1', '4.11.0' ] | |
steps: | |
- uses: actions/checkout@master | |
- uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
- run: opam pin -y -n . | |
- run: opam depext -yt imandra-document | |
- run: opam install -t . --deps-only | |
- run: opam install octavius | |
- run: opam exec -- dune build | |
- run: opam exec -- dune runtest |