Skip to content

Commit 5cf2649

Browse files
committed
[ci] Fix node download?
1 parent 92986a3 commit 5cf2649

File tree

4 files changed

+9
-18
lines changed

4 files changed

+9
-18
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,12 @@ jobs:
1818
uses: ocaml/setup-ocaml@v2
1919
with:
2020
ocaml-compiler: 4.12.x
21-
- run: opam install --yes ocamlbuild.0.14.0
21+
- 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
2222
- name: Setup Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v2
2424
with:
2525
node-version: 19.x
26-
- run: cd interpreter && opam exec make JS=node all
27-
28-
ref-interpreter-js-library:
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v2
32-
- name: Setup OCaml
33-
uses: ocaml/setup-ocaml@v2
34-
with:
35-
ocaml-compiler: 4.12.x
36-
- 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
37-
- run: cd interpreter && opam exec make wast.js
26+
- run: cd interpreter && opam exec make JS=node ci
3827

3928
build-js-api-spec:
4029
runs-on: ubuntu-latest

document/core/exec/modules.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,22 +335,22 @@ New instances of :ref:`functions <syntax-funcinst>`, :ref:`tables <syntax-tablei
335335
:ref:`Data segments <syntax-datainst>`
336336
......................................
337337

338-
1. Let :math:`\bytes` be the vector of :ref:`bytes <syntax-byte>` to allocate.
338+
1. Let :math:`b^\ast` be the vector of :ref:`bytes <syntax-byte>` to allocate.
339339

340340
2. Let :math:`a` be the first free :ref:`data address <syntax-dataaddr>` in :math:`S`.
341341

342-
3. Let :math:`\datainst` be the :ref:`data instance <syntax-datainst>` :math:`\{ \DIDATA~\bytes \}`.
342+
3. Let :math:`\datainst` be the :ref:`data instance <syntax-datainst>` :math:`\{ \DIDATA~b^\ast \}`.
343343

344344
4. Append :math:`\datainst` to the |SDATAS| of :math:`S`.
345345

346346
5. Return :math:`a`.
347347

348348
.. math::
349349
\begin{array}{rlll}
350-
\allocdata(S, \bytes) &=& S', \dataaddr \\[1ex]
350+
\allocdata(S, b^\ast) &=& S', \dataaddr \\[1ex]
351351
\mbox{where:} \hfill \\
352352
\dataaddr &=& |S.\SDATAS| \\
353-
\datainst &=& \{ \DIDATA~\bytes \} \\
353+
\datainst &=& \{ \DIDATA~b^\ast \} \\
354354
S' &=& S \compose \{\SDATAS~\datainst\} \\
355355
\end{array}
356356

interpreter/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ all: unopt opt libunopt libopt test
4141
land: $(WINMAKE) all
4242
zip: $(ZIP)
4343
smallint: smallint.native
44+
ci: land wast.js
4445

4546
dunebuild:
4647
dune build
@@ -175,6 +176,7 @@ smallinttest: smallint
175176
dunetest:
176177
dune test
177178
179+
178180
# Miscellaneous targets
179181
180182
.PHONY: clean
File renamed without changes.

0 commit comments

Comments
 (0)