Skip to content

Commit

Permalink
Enable Ocaml backend check in continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
mdurero committed Oct 7, 2022
1 parent 2e06493 commit 388b150
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/check_correctness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
eval $(opam env)
make test_java_backend
- name: Test Ocaml backend
run: |
make test_ocaml_backend
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,13 @@ endif
test_dgfip_c_backend:
$(MAKE) -C examples/dgfip_c/ backend_tests

test_ocaml_backend:
$(MAKE) -C examples/ocaml/ run_tests

quick_test:
$(MLANG) --backend interpreter --function_spec $(M_SPEC_FILE) $(SOURCE_FILES)

all: tests test_java_backend test_dgfip_c_backend quick_test
all: tests test_java_backend test_dgfip_c_backend test_ocaml_backend quick_test

##################################################
# Doc
Expand All @@ -90,6 +93,7 @@ doc: FORCE
clean:
$(MAKE) -C examples/dgfip_c clean
$(MAKE) -C examples/java clean
$(MAKE) -C examples/ocaml clean
dune clean

FORCE:

0 comments on commit 388b150

Please sign in to comment.