File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI for interpreter & tests
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ paths : [ interpreter/**, test/** ]
7
+
8
+ pull_request :
9
+ branches : [ main ]
10
+ paths : [ interpreter/**, test/** ]
11
+
12
+ # Allows you to run this workflow manually from the Actions tab
13
+ workflow_dispatch :
14
+
15
+ jobs :
16
+ interpreter :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Checkout repo
20
+ uses : actions/checkout@v2
21
+ - name : Setup OCaml
22
+ uses : ocaml/setup-ocaml@v2
23
+ with :
24
+ ocaml-compiler : 4.12.x
25
+ - name : Setup OCaml tools
26
+ run : opam install --yes ocamlbuild.0.14.0 ocamlfind.1.9.5 js_of_ocaml.4.0.0 js_of_ocaml-ppx.4.0.0
27
+ - name : Setup Node.js
28
+ uses : actions/setup-node@v2
29
+ with :
30
+ node-version : 19.x
31
+ - name : Build interpreter
32
+ run : cd interpreter && opam exec make
33
+ - name : Run tests
34
+ run : cd interpreter && opam exec make JS=node ci
You can’t perform that action at this time.
0 commit comments