Skip to content

Commit 0165afd

Browse files
committed
Run tests with jsc on the CI
1 parent 456adf5 commit 0165afd

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

.github/workflows/build-wasm_of_ocaml.yml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
os:
1818
- ubuntu-latest
1919
ocaml-compiler:
20-
- "4.14"
21-
- "5.0"
22-
- "5.1"
20+
# - "4.14"
21+
# - "5.0"
22+
# - "5.1"
2323
- "5.3"
2424
separate_compilation:
2525
- true
@@ -33,21 +33,21 @@ jobs:
3333
separate_compilation: true
3434
jane_street_tests: false
3535
all_jane_street_tests: false
36-
- os: windows-latest
37-
ocaml-compiler: "5.2"
38-
separate_compilation: true
39-
jane_street_tests: true
40-
all_jane_street_tests: true
41-
- os: ubuntu-latest
42-
ocaml-compiler: "5.2"
43-
separate_compilation: true
44-
jane_street_tests: true
45-
all_jane_street_tests: true
46-
- os: ubuntu-latest
47-
ocaml-compiler: "5.2"
48-
separate_compilation: false
49-
jane_street_tests: true
50-
all_jane_street_tests: false
36+
# - os: windows-latest
37+
# ocaml-compiler: "5.2"
38+
# separate_compilation: true
39+
# jane_street_tests: true
40+
# all_jane_street_tests: true
41+
# - os: ubuntu-latest
42+
# ocaml-compiler: "5.2"
43+
# separate_compilation: true
44+
# jane_street_tests: true
45+
# all_jane_street_tests: true
46+
# - os: ubuntu-latest
47+
# ocaml-compiler: "5.2"
48+
# separate_compilation: false
49+
# jane_street_tests: true
50+
# all_jane_street_tests: false
5151

5252
runs-on: ${{ matrix.os }}
5353

@@ -77,6 +77,14 @@ jobs:
7777
with:
7878
node-version: latest
7979

80+
- name: Install jsvu
81+
run: npm install jsvu -g
82+
83+
- name: Install jsc
84+
run: |
85+
jsvu --os=default --engines=javascriptcore
86+
echo $HOME/.jsvu/bin >> $GITHUB_PATH
87+
8088
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
8189
uses: ocaml/setup-ocaml@v3
8290
with:
@@ -124,7 +132,9 @@ jobs:
124132
- name: Run tests
125133
if: ${{ matrix.separate_compilation }}
126134
working-directory: ./wasm_of_ocaml
127-
run: opam exec -- dune build @runtest-wasm
135+
env:
136+
WASM_ENGINE: jsc
137+
run: opam exec -- dune build @runtest-wasm --profile release
128138

129139
# we continue-on-error on windows because we seem to often hit
130140
# an internal assert inside libuv.

0 commit comments

Comments
 (0)