Skip to content

Commit

Permalink
[interpreter] Run JS tests via node.js (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg authored Feb 9, 2023
1 parent aa15776 commit 31cabf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
with:
ocaml-compiler: 4.12.x
- run: opam install --yes ocamlbuild.0.14.0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: cd interpreter && opam exec make all

ref-interpreter-js-library:
Expand Down
2 changes: 1 addition & 1 deletion interpreter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FLAGS = -lexflags -ml -cflags '-w +a-4-27-42-44-45-70 -warn-error +a-3'
OCBA = ocamlbuild $(FLAGS) $(DIRS:%=-I %)
OCB = $(OCBA) $(LIBS:%=-libs %)
JSO = js_of_ocaml -q --opt 3
JS = # set to JS shell command to run JS tests
JS = node # set to JS shell command to run JS tests, empty to skip


# Main targets
Expand Down

0 comments on commit 31cabf8

Please sign in to comment.