Fix #295 #264
Workflow file for this run
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
on: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
ocaml-compiler: | |
- 5.0.x | |
runs-on: ubuntu-latest | |
steps: | |
- name: checking out dedukti repo... | |
uses: actions/checkout@v3 | |
- name: setting up opam... | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
dune-cache: true | |
- name: installing dependencies... | |
run: | | |
opam update | |
opam upgrade | |
opam install . --deps-only -t | |
opam install ocamlformat.0.24.1 | |
- name: Checking formatting... | |
run: | | |
eval $(opam env) | |
make fmt | |
- name: Check universo compiles... | |
run: | | |
eval $(opam env) | |
make universo | |
- name: running Tezt tests... | |
run: | | |
tests/check_test_list.py | |
eval $(opam env) | |
make tezt | |
- name: running light libraries... | |
if: github.event_name != 'schedule' | |
run: | | |
eval $(opam env) | |
make light_tests |