@@ -2,11 +2,11 @@ name: CI for interpreter & tests
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [ main, wasm-3.0 ]
6
6
paths : [ .github/**, interpreter/**, test/** ]
7
7
8
8
pull_request :
9
- branches : [ main ]
9
+ branches : [ main, wasm-3.0 ]
10
10
paths : [ .github/**, interpreter/**, test/** ]
11
11
12
12
# Allows you to run this workflow manually from the Actions tab
15
15
jobs :
16
16
interpreter :
17
17
runs-on : ubuntu-latest
18
+ env :
19
+ NODE_VERSION : 24.0.0-v8-canary20241018c59bfa2926
18
20
steps :
19
21
- name : Checkout repo
20
22
uses : actions/checkout@v2
@@ -24,13 +26,15 @@ jobs:
24
26
ocaml-compiler : 4.14.x
25
27
- name : Setup OCaml tools
26
28
run : opam install --yes 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 : 20.x
31
29
- name : Build interpreter
32
30
run : cd interpreter && opam exec make
31
+ - name : Setup node canary
32
+ run : |
33
+ cd $HOME
34
+ wget https://nodejs.org/download/v8-canary/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz
35
+ tar xf node-v${NODE_VERSION}-linux-x64.tar.xz
36
+ stat $HOME/node-v${NODE_VERSION}-linux-x64/bin/node
33
37
- name : Run tests
34
- # TODO: reactiate node once it supports all of Wasm 3.0
35
- # run: cd interpreter && opam exec make JS= node ci
36
- run : cd interpreter && opam exec make ci
38
+ run : |
39
+ NODE="$HOME/ node-v${NODE_VERSION}-linux-x64/bin/node --wasm-staging"
40
+ cd interpreter && opam exec make "JS=$NODE" ci
0 commit comments