Skip to content

Commit 388b150

Browse files
committed
Enable Ocaml backend check in continuous integration
1 parent 2e06493 commit 388b150

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/check_correctness.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
eval $(opam env)
6969
make test_java_backend
7070
71+
- name: Test Ocaml backend
72+
run: |
73+
make test_ocaml_backend
74+
7175
7276
7377

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,13 @@ endif
7474
test_dgfip_c_backend:
7575
$(MAKE) -C examples/dgfip_c/ backend_tests
7676

77+
test_ocaml_backend:
78+
$(MAKE) -C examples/ocaml/ run_tests
79+
7780
quick_test:
7881
$(MLANG) --backend interpreter --function_spec $(M_SPEC_FILE) $(SOURCE_FILES)
7982

80-
all: tests test_java_backend test_dgfip_c_backend quick_test
83+
all: tests test_java_backend test_dgfip_c_backend test_ocaml_backend quick_test
8184

8285
##################################################
8386
# Doc
@@ -90,6 +93,7 @@ doc: FORCE
9093
clean:
9194
$(MAKE) -C examples/dgfip_c clean
9295
$(MAKE) -C examples/java clean
96+
$(MAKE) -C examples/ocaml clean
9397
dune clean
9498

9599
FORCE:

0 commit comments

Comments
 (0)