systemd-style logger #156
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: | |
pull_request: | |
push: | |
jobs: | |
run: | |
name: Build | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
#- windows-latest | |
#- macos-latest | |
ocaml-compiler: | |
- 4.08.x | |
- 4.12.x | |
- 5.1.x | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: | |
recursive | |
- uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
dune-cache: true | |
allow-prerelease-opam: true | |
- run: opam pin -n . | |
- run: opam depext -yt trustee trustee-itp trustee-script trustee-opentheory trustee-lsp | |
- run: opam install -t . --deps-only | |
- run: opam install sqlite3 | |
- run: opam exec -- dune build -p trustee,trustee-itp,trustee-opentheory,trustee-script | |
- run: opam exec -- dune runtest -p trustee,trustee-itp,trustee-opentheory,trustee-script | |
if: ${{ matrix.os == 'ubuntu-latest'}} | |
- run: opam exec -- dune build -p trustee,trustee-itp,trustee-opentheory,trustee-lsp,trustee-script | |
- run: opam exec -- ./trustee_ot.sh --dir vendor/opentheory/data/theories/ --check-all |