Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Function references merge #25

Merged
merged 325 commits into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
25ffaea
[spec] Add reference types to overview (#1394)
rossberg Nov 11, 2021
eae4abc
[interpreter] Remove use of physical equality on characters (#1396)
hanshoglund Nov 16, 2021
f5a260a
Merge SIMD proposal (#1391)
ngzhian Nov 18, 2021
57e2b6e
Remove merge conflict marker
ngzhian Nov 22, 2021
9849315
[spec] Handle v128 in validation algorithm (#1399)
ngzhian Nov 23, 2021
2460ad0
[spec] Fix instruction table (#1402)
rossberg Dec 2, 2021
db26021
Add tests for functions without end marker. NFC (#1405)
sbc100 Dec 13, 2021
9c0d745
Describe correct tail call behavior across modules
tlively Dec 15, 2021
ffb5e3b
[interpreter] Fix a typo in README (#1406)
ggreif Dec 18, 2021
63881c2
Add a link to the proposals repo (#1409)
tlively Jan 18, 2022
f2086a4
[spec] Add note regarding parameter names (#1412)
rossberg Jan 28, 2022
76a7090
Comments WIP
rossberg Feb 4, 2022
1a9e868
Merge branch 'upstream' into merge-vec
rossberg Feb 4, 2022
e75f3b2
Merge upstream (#55)
rossberg Feb 4, 2022
d897766
Merge branch 'merge-vec'
rossberg Feb 4, 2022
aa10cd8
Merge pull request #16 from WebAssembly/module-boundaries
rossberg Feb 4, 2022
88ec321
Merge branch 'upstream' into merge-upstream
rossberg Feb 4, 2022
23a6198
Merge pull request #17 from WebAssembly/merge-upstream
rossberg Feb 4, 2022
a4a7f68
Typo
rossberg Feb 4, 2022
5a6a7fb
[spec] Clarifying note on text format (#1420)
codefromthecrypt Feb 15, 2022
bdee0c7
Eps
rossberg Feb 15, 2022
a906a4d
Eps
rossberg Feb 15, 2022
5257f13
[test] Fix section size in binary test (#1424)
rossberg Feb 22, 2022
df22852
Update document README to install six
ngzhian Mar 1, 2022
4ba7f3f
Disallow type recursion (#56)
rossberg Mar 8, 2022
af438f4
Fix import order
rossberg Mar 8, 2022
daee490
Add --generate-js-only flag to test runner
ngzhian Mar 18, 2022
244cc87
Remove use of let from func.bind test
titzer Mar 21, 2022
44a0a77
Add call3
titzer Mar 22, 2022
d372643
Merge pull request #58 from WebAssembly/rm_let_from_func_bind_test
titzer Mar 22, 2022
253db39
[spec] Fix missing mention of vectype (#1436)
ngzhian Apr 4, 2022
f7e4ad1
[spec] Fix single-table limitation in module instantiation (#1434)
keithw Apr 4, 2022
f6ae547
[spec] Fix missing immediate on table.set (#1441)
keithw Apr 5, 2022
d28b65e
[docs] Update syntax in examples (#1442)
codefromthecrypt Apr 14, 2022
101a69e
Clarification in proposals README
rossberg Apr 14, 2022
4ea0e9a
[interpreter] Tweak start section AST to match spec
rossberg Apr 15, 2022
ce4b6c4
[spec] Bump release to 2 (#1443)
rossberg Apr 16, 2022
91767c8
Remove test cases with let
titzer Apr 18, 2022
581daf6
Sync wpt test (#1449)
gahaas Apr 25, 2022
4a74af4
[spec] Fix typo (#1448)
wooster0 Apr 26, 2022
bdcf1c1
[proposals] Add missing start to example (#1454)
codefromthecrypt Apr 27, 2022
9687d15
Merge pull request #59 from WebAssembly/rm_let
titzer Apr 29, 2022
2eb7e64
[spec] "version 2.0" -> "release 2.0" (#1452)
rossberg May 2, 2022
c4699b1
[spec] Fix typo (#1458)
tpmccallum May 2, 2022
4bc7d31
[test] Add assert_trap for unreached valid case (#1460)
titzer May 4, 2022
082ae4d
[interpreter] Name the type Utf8.unicode
rossberg May 4, 2022
1ffb924
[spec] Fix binary format of data/elem tags to allow LEB (#1461)
rossberg May 5, 2022
50fdeb5
[spec] Fix typos in numeric operations (#1467)
ia0 May 6, 2022
49105a7
[spec] Fix syntax error in element segments validation rule (#1465)
ia0 May 6, 2022
5e49f4b
[spec] Fix typo in global instance syntax (#1466)
ia0 May 6, 2022
0d42c11
[spec] Fix typos in module instantiation (#1468)
ia0 May 6, 2022
6c2b582
[interpreter] Turn into a Dune package (#1459)
vapourismo May 6, 2022
79ef7af
[spec] Fix typos in instruction validation rules (#1462)
ia0 May 6, 2022
54fa926
[bib] Update latex .bib file for webassembly 2.0 (#1463)
JamesMenetrey May 6, 2022
8d005d4
[spec] Add missing default for vector types (#1464)
ia0 May 6, 2022
75059dc
[spec] Fix typos in binary and text formats (#1469)
ia0 May 6, 2022
d391957
[spec] Fix various typos (#1470)
ivan-pan May 10, 2022
be736ea
TypeError for Global constructor with v128
gahaas May 12, 2022
6e1efd1
[spec] Fix LEB opcodes in instruction index (#1475)
rossberg May 16, 2022
656e20a
[spec] Fix v128.loadX_splat in instruction index (#1477)
ictrobot May 17, 2022
1b849c7
[interpreter] Dune test suite (#1478)
vapourismo May 17, 2022
a275842
[interpreter] Fix warning flags for OCaml 4.13 (#1481)
rossberg May 31, 2022
f1229e1
[interpreter] Simplify lexer and avoid table overflow on some archite…
rossberg Jun 1, 2022
5ef67fb
[spec] Editorial nit (#1484)
aathan Jun 1, 2022
0fd2688
[interpreter] Produce error messages in encoder (#1488)
rossberg Jun 7, 2022
7991db3
[spec] Add missing close paren on table abbreviation (#1486)
tlively Jun 7, 2022
1ddc118
Merge branch 'upstream' into main
rossberg Jun 8, 2022
f8c221c
[spec] Remove outdated note (#1491)
fifofefe Jun 8, 2022
efb7f3d
Eps
rossberg Jun 8, 2022
2cdd5ac
[interpreter] Factor data and element segments into abstract types (#…
rossberg Jun 9, 2022
044d0d2
[spec] Update note on module initialization trapping (#1493)
keithw Jun 13, 2022
d4e68e0
Fix type equality
rossberg Jun 16, 2022
7258eb9
Fix typo
mnordine Jun 20, 2022
8d7be0b
Merge pull request #18 from mnordine/patch-1
rossberg Jun 20, 2022
731ad9f
[spec] Add note about control stack invariant to algorithm (#1498)
rossberg Jun 27, 2022
e0a6a31
[spec] Tweak tokenisation for text format (#1499)
rossberg Jun 28, 2022
d48af68
[test] Use still-illegal opcode (func-refs) (#1501)
CosineP Jul 11, 2022
48bfb6d
Fix minor typos and consistency issues in the validation algorithm. (…
dhil Jul 14, 2022
7c9e3fb
Add definition of defaultable types (#62)
rossberg Jul 20, 2022
b196330
Remove func.bind (#64)
rossberg Jul 22, 2022
1efa4d6
Implement 1a (#63)
rossberg Jul 22, 2022
4abaa45
Subtyping on vector types & heap bottom check (#66)
dhil Jul 22, 2022
e1fa752
[interpreter] Bring AST closer to spec
rossberg Jul 23, 2022
e8c05f4
[spec] Fix typo (#1508)
ariez-xyz Jul 23, 2022
ef0ca33
WIP
rossberg Jul 24, 2022
eee3005
Remove polymorphic variants
rossberg Jul 28, 2022
0f30adb
Minor syntactic consistency fix (#68)
dhil Jul 28, 2022
f831cff
Bump version
rossberg Jul 28, 2022
27fc520
[spec] Fix table.copy validation typo (#1511)
CosineP Jul 29, 2022
1945563
More fixes
rossberg Jul 30, 2022
0a41ac7
Fix Latex
rossberg Aug 1, 2022
8994306
Adjust intro
rossberg Aug 1, 2022
6194785
Spec local initialization (#67)
rossberg Aug 2, 2022
b1c9394
Add table initialiser (#65)
rossberg Aug 2, 2022
07a4a26
[spec] Remove outdated note (#1491)
fifofefe Jun 8, 2022
a9d46aa
[interpreter] Factor data and element segments into abstract types (#…
rossberg Jun 9, 2022
88c4b34
[spec] Update note on module initialization trapping (#1493)
keithw Jun 13, 2022
c502b7a
[spec] Add note about control stack invariant to algorithm (#1498)
rossberg Jun 27, 2022
11d1a53
[spec] Tweak tokenisation for text format (#1499)
rossberg Jun 28, 2022
1107626
[test] Use still-illegal opcode (func-refs) (#1501)
CosineP Jul 11, 2022
e262c4c
[spec] Fix typo (#1508)
ariez-xyz Jul 23, 2022
cf9e511
[spec] Fix table.copy validation typo (#1511)
CosineP Jul 29, 2022
794388b
Merge fallout
rossberg Aug 2, 2022
6d1c8c7
Latex fixes
rossberg Aug 2, 2022
4f7b5c0
[spec] Minor copy edit (#1512)
surma Aug 2, 2022
aaecf06
Merge branch 'upstream' into main
rossberg Aug 2, 2022
fe9e349
Merge branch 'main' into spec4
rossberg Aug 2, 2022
0a1f6f7
Spec changelog
rossberg Aug 3, 2022
fd273ed
Merge branch 'main' into spec3.rebased
rossberg Aug 3, 2022
8159541
[spec] Trivial editorial fix
rossberg Aug 3, 2022
6e4102e
Update embedding
rossberg Aug 3, 2022
1491e68
Oops
rossberg Aug 3, 2022
04eed2f
Merge branch 'spec3' into spec3.rebased
rossberg Aug 3, 2022
20fa3e4
Argh
rossberg Aug 3, 2022
a4b8eac
Merge branch 'spec3' into spec3.rebased
rossberg Aug 3, 2022
4140b2d
Rename Sem to Dyn
rossberg Aug 3, 2022
b9c2686
Readd match.mli
rossberg Aug 3, 2022
40dca73
[interpreter] Build wast.js with Js_of_ocaml (#1507)
takikawa Aug 4, 2022
9de7805
[interpreter] Add flag for controlling call budget
rossberg Aug 4, 2022
3eea656
Spec zero byte
rossberg Aug 4, 2022
36770f4
Fix table/elem expansion (#71)
rossberg Aug 4, 2022
73775d2
Merge branch 'spec3.rebased' into main
rossberg Aug 8, 2022
62c3b5a
Fix merge artefact
rossberg Aug 8, 2022
888cce9
Restrict init from stack-polymorphism (#75)
rossberg Aug 10, 2022
e9dccd9
[spec] Simplify exec rule for if (#1517)
rossberg Aug 10, 2022
14e97f5
[spec] Formatting tweak (#1519)
ianh Aug 11, 2022
ceecbe4
[spec] Fix typing rule in appendix (#1516)
rossberg Aug 11, 2022
3996773
[spec] Fix “invertible” typo (#1520)
tomstuart Aug 23, 2022
429b2e3
[spec] Correct use of opdtype and stacktype (#1524)
rossberg Aug 25, 2022
b04e3be
Merge branch 'upstream' into main
rossberg Aug 25, 2022
550e79d
[spec] Add note to instruction index (#1528)
rossberg Aug 25, 2022
2b194ce
Add type annotation to call_ref (#76)
rossberg Aug 25, 2022
f35463a
[spec] Tweak wording to avoid first person
rossberg Aug 26, 2022
6269af7
Eps
rossberg Aug 26, 2022
f6aed33
Eps2
rossberg Aug 26, 2022
5b18ee8
Eps3
rossberg Aug 26, 2022
959999d
Remove unneeded assumption type
rossberg Aug 26, 2022
4bb213a
[spec/test] Fix scoping of non-imported globals (#1525)
rossberg Aug 30, 2022
94a8847
Fix test
rossberg Aug 31, 2022
c651c82
A couple of tests
rossberg Aug 31, 2022
d07e0de
Performance improvement
rossberg Aug 31, 2022
01a5790
Typo
rossberg Aug 31, 2022
5acd684
Another typo
rossberg Aug 31, 2022
fa8aacd
[spec] Fix language config
rossberg Sep 1, 2022
cb16e5a
Fix null subtyping being wrong way around (#79)
Jamesernator Sep 12, 2022
04beeb7
[spec] Fix naming typo (#1532)
whirlicote Sep 20, 2022
ed6031d
Defunctorise types again
rossberg Sep 20, 2022
571c299
Merge branch 'upstream'
rossberg Sep 20, 2022
5900d83
[spec] Add citation for WasmCert (#1533)
rossberg Sep 20, 2022
2da4104
[test] Fix async_index.js
Ms2ger Sep 20, 2022
82a613d
[test] Enable the i64 tests in imports.wast.
Ms2ger Sep 20, 2022
c4eef9a
Minor tweak
rossberg Sep 21, 2022
c0312a8
[js-api][web-api] Editorial: Fix some minor issues.
Ms2ger Sep 27, 2022
8a35270
Update README.md (#1540)
Adzz Sep 30, 2022
793b3ff
[spec] Fix typo in element execution (#1544)
ia0 Oct 4, 2022
58cd4c3
[spec] Remove obsolete note (#1545)
rossberg Oct 4, 2022
47d862c
cccccc[klghketetivvtnnhvntikigrnueuhdkkukljgjuest/meta/generate_*.js:…
keithw Oct 5, 2022
5a12e3f
[spec] Editorial tweak
rossberg Oct 4, 2022
f2b7c60
[test] test segment/table mismatch and externref segment (#1547)
keithw Oct 5, 2022
7f3e78e
[interpreter] Remove duplicate token declarations (#1548)
dhil Oct 5, 2022
c86b2fb
Update Soundness appendix (#72)
rossberg Oct 8, 2022
683e402
[spec] Formatting eps
rossberg Oct 11, 2022
c27d6c7
Remove oboslete note in README (#82)
osa1 Oct 12, 2022
89353e0
Add `print_i64` to generated spec tests
gahaas Oct 24, 2022
9789e17
[test] Tweak binary-leb128 and simd_lane (#1555)
eutro Oct 25, 2022
1831a38
[spec] Allow explicit keyword definitions (#1553)
tlively Oct 28, 2022
f9b461a
[js-api] editorial: adjust link for v128 type
takikawa Nov 8, 2022
7642173
Factor local init tests to local_init.wast; add more (#84)
titzer Nov 10, 2022
97359b4
Update JS API for no-frills
rossberg Nov 23, 2022
ff149b4
[spec] Add missing case for declarative elem segments
rossberg Dec 5, 2022
11c4cc2
[spec] Hotfix last accidental commit
rossberg Dec 5, 2022
6cc9fa1
[spec] Fix hyperref (#1563)
michaelficarra Dec 5, 2022
1fb0f3e
[spec] Bump sphinx version to fix Python problem
rossberg Dec 5, 2022
62aa16e
[spec] Fix minor errors and inconsistencies (#1564)
rossberg Dec 7, 2022
7094e3c
Spacing
rossberg Dec 9, 2022
b3e4d8d
Merge branch 'upstream'
rossberg Dec 9, 2022
85e55e8
Fix a couple more superfluous brackets
rossberg Dec 9, 2022
937fc7d
[spec] Eps
rossberg Dec 9, 2022
ef01de5
[interpreter] Refactor parser to handle select & call_indirect correc…
rossberg Dec 12, 2022
a54a1d8
[spec] Remove dead piece of grammar
rossberg Dec 15, 2022
1782235
[test] elem.wast: force to use exprs in a element (#1561)
yamt Dec 15, 2022
ca1d792
Fix typos in SIMD exec/instructions
ngzhian Jan 17, 2023
4c249c5
Update interpreter README (#1571)
tlively Jan 18, 2023
f54b5b8
[spec] Remove an obsolete exec step (#1580)
rossberg Jan 24, 2023
6798f05
[test] Optional tableidx for table.{get,set,size,grow,fill} (#1582)
keithw Jan 24, 2023
7d905df
[spec] Fix abstract grammar for const immediate (#1577)
rossberg Jan 26, 2023
0031ea4
[spec] Fix context composition in text format (#1578)
rossberg Jan 26, 2023
dcf4eaa
[spec] Fix label shadowing (#1579)
rossberg Jan 26, 2023
b908a3a
Merge branch 'upstream' into merge-upstream2
rossberg Jan 30, 2023
4a772bc
Merge branch 'upstream'
rossberg Jan 30, 2023
d7f7aca
Merge branch 'tailcall' into merge-tailcall
rossberg Jan 30, 2023
c3e231e
Try bumping OCaml
rossberg Jan 30, 2023
a311f8a
Try bumping checkout
rossberg Jan 30, 2023
747d100
Merge pull request #88 from WebAssembly/merge-tailcall
rossberg Jan 30, 2023
abcab5d
Adjust for multi-return
rossberg Jan 30, 2023
1f02322
Tweak reduction rules
rossberg Jan 30, 2023
159e41b
Merge branch 'tailcall'
rossberg Jan 30, 2023
8026a82
Spec return_call_ref
rossberg Jan 30, 2023
9375539
Fix
rossberg Jan 30, 2023
42ea129
Text format
rossberg Jan 30, 2023
45f9845
[spec] Fix typos in instruction index (#1584)
candymate Jan 31, 2023
947badf
[spec] Fix typo (#1587)
bonjune Feb 7, 2023
b1fbe1a
[spec] Remove inconsistent newline (#1589)
ShinWonho Feb 8, 2023
2b4222d
[interpreter] Remove legacy bigarray linking (#1593)
rossberg Feb 9, 2023
aa15776
[spec] Show scrolls for overflow math blocks (#1594)
suhdonghwi Feb 9, 2023
31cabf8
[interpreter] Run JS tests via node.js (#1595)
rossberg Feb 9, 2023
e7f6e1c
[spec] Remove stray `x` indices (#1598)
jimblandy Feb 11, 2023
f8ae6b2
[spec] Style tweak for cross-refs
rossberg Feb 13, 2023
0f06880
[spec] Style eps (#1601)
bonjune Feb 13, 2023
3a882f2
Separate subsumption from instr sequencing
rossberg Feb 11, 2023
d594579
State principal types
rossberg Feb 11, 2023
138095c
Add statements about glbs, lubs, and disjoint hierarchies
rossberg Feb 15, 2023
975aaf7
Add missing bot
rossberg Feb 15, 2023
328e425
[spec] Clarify that atoms can be symbolic (#1602)
rossberg Feb 16, 2023
deeb164
[test] Import v128 global (#1597)
rossberg Feb 16, 2023
439f9b6
Update Overview.md
osa1 Feb 16, 2023
300f214
Merge pull request #93 from osa1/patch-1
rossberg Feb 16, 2023
19b1243
[js-api] Expose everywhere
Ms2ger Oct 12, 2022
4feb919
[js-api] Try to clarify NaN/infinity handling. (#1535)
Ms2ger Feb 16, 2023
51ff50a
[web-api] Correct MIME type check. (#1537)
Ms2ger Feb 17, 2023
e8a83b2
[ci] Pin nodejs version to avoid fetching failures (#1603)
aheejin Feb 21, 2023
3545ad0
[spec] Add missing value to table.grow reduction rule (#1607)
tomstuart Feb 21, 2023
585bfa7
[test] Move SIMD linking test to simd dir (#1610)
rossberg Feb 21, 2023
d5fcf44
Spec return_call_ref (PR #89)
rossberg Feb 21, 2023
f9a7267
Editorial: Clarify the name of the instantiate algorithm.
littledan Mar 18, 2019
a114f7a
Add notes to discourage using synchronous APIs.
littledan Mar 18, 2019
25b3df3
[jsapi] Normative: Always queue a task during asynchronous instantiation
littledan Mar 18, 2019
036365a
[test] Exception -> Tag in wasm-module-builder.js
aheejin Feb 18, 2023
314a335
Merge pull request #91 from WebAssembly/principal
rossberg Feb 21, 2023
4f8c229
Merge pull request #90 from WebAssembly/subsumption
rossberg Feb 21, 2023
8f5c489
[spec] Fix reduction rule for label (#1612)
rossberg Feb 22, 2023
6db9011
[spec] Clarifying note about canonical NaNs (#1614)
rossberg Feb 22, 2023
721dd6c
[spec] Tweak crossref
rossberg Feb 22, 2023
2558d66
[test] Fix invalid section ID tests (#1615)
aheejin Feb 23, 2023
6eeac7b
Merge branch 'upstream'
rossberg Feb 28, 2023
af09dd3
[tests] Disable node run for now
rossberg Feb 28, 2023
65eebf6
Merge branch 'upstream'
rossberg Mar 1, 2023
8115657
Merge branch 'tailcall'
rossberg Mar 1, 2023
87461da
[spec] Don't check in generated index, to avoid spurious merge conflicts
rossberg Mar 1, 2023
acdac46
Merge branch 'upstream'
rossberg Mar 1, 2023
55333ae
[spec] Rename script
rossberg Mar 1, 2023
3503209
Merge branch 'upstream'
rossberg Mar 1, 2023
c65662e
Merge branch 'tailcall'
rossberg Mar 1, 2023
269f18b
[ci] deactivate node run for now
rossberg Mar 1, 2023
9a2d378
Merge branch 'tailcall'
rossberg Mar 1, 2023
c2a9001
Fix uses of \to; compositionality
rossberg Mar 1, 2023
f919dde
Fix typo in text expansion
rossberg Mar 6, 2023
3d09c22
Follow-up fix
rossberg Mar 7, 2023
eb9932a
Merge
dhil Mar 10, 2023
f4a1f12
Fix compilation errors after merge.
dhil Mar 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
105 changes: 105 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
ref-interpreter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.13.x
- run: opam install --yes ocamlbuild.0.14.0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 19.x
# TODO: disable node.js run until it fully implements proposal
# - run: cd interpreter && opam exec make JS=node all
- run: cd interpreter && opam exec make all

ref-interpreter-js-library:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.13.x
- 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
- run: cd interpreter && opam exec make wast.js

build-js-api-spec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip install bikeshed && bikeshed update
- run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html"
- uses: actions/upload-artifact@v2
with:
name: js-api-rendered
path: document/js-api/index.html

build-web-api-spec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip install bikeshed && bikeshed update
- run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html"
- uses: actions/upload-artifact@v2
with:
name: web-api-rendered
path: document/web-api/index.html

build-core-spec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- uses: actions/setup-node@v3
with:
node-version: 16
- run: pip install bikeshed && bikeshed update
- run: pip install six
- run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- run: pip install sphinx==5.1.0
- run: cd document/core && make all
- uses: actions/upload-artifact@v2
with:
name: core-api-rendered
path: document/core/_build/html

publish-spec:
runs-on: ubuntu-latest
needs: [build-core-spec, build-js-api-spec, build-web-api-spec]
steps:
- uses: actions/checkout@v2
- run: mkdir _output && cp document/index.html _output/index.html
- uses: actions/download-artifact@v2
with:
name: js-api-rendered
path: _output/js-api
- uses: actions/download-artifact@v2
with:
name: web-api-rendered
path: _output/web-api
- uses: actions/download-artifact@v2
with:
name: core-api-rendered
path: _output/core
- name: Publish HTML to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./_output
github_token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches:
- 'main'

jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror main branch to master branch
steps:
- name: Mirror action step
id: mirror
uses: google/mirror-branch-action@v1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'main'
dest: 'master'
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Interested in participating? Please follow
[the same contributing guidelines as the design repository][].

[the same contributing guidelines as the design repository]: https://github.com/WebAssembly/design/blob/master/Contributing.md
[the same contributing guidelines as the design repository]: https://github.com/WebAssembly/design/blob/main/Contributing.md

Also, please be sure to read [the README.md](README.md) for this repository.
Binary file removed deploy_key.enc
Binary file not shown.
6 changes: 3 additions & 3 deletions document/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
This directory contains the source code for the WebAssembly spec documents, as served from the [webassembly.github.io/spec](https://webassembly.github.io/spec) pages.
It uses [Sphinx](http://www.sphinx-doc.org/) and [Bikeshed](https://github.com/tabatkins/bikeshed).

To install Sphinx:
To install Sphinx (and required library six):
```
pip install sphinx
pip install sphinx six
```

To install Bikeshed, see the instructions [here](https://tabatkins.github.io/bikeshed/#installing).
Expand Down Expand Up @@ -42,7 +42,7 @@ pipenv shell
Install Python dependencies:

```
pipenv install Sphinx==3.5.2
pipenv install Sphinx==4.0.0 six
```

### Checking out the repository
Expand Down
1 change: 1 addition & 0 deletions document/core/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_build
_static
document/*.pyc
appendix/index-instructions.rst
3 changes: 2 additions & 1 deletion document/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ bikeshed-keep:

.PHONY: index
index:
(cd appendix; ./gen-index-instructions.py)
(cd appendix; ./index-instructions.py)

.PHONY: pdf
pdf: index latexpdf
Expand All @@ -103,6 +103,7 @@ pdf: index latexpdf
clean:
rm -rf $(BUILDDIR)
rm -rf $(STATICDIR)
rm -f appendix/index-instructions.rst

.PHONY: html
html: index
Expand Down
Loading