Skip to content

Commit af0bf05

Browse files
committed
Merge with upstream
2 parents 6ac6b6b + 9b20411 commit af0bf05

File tree

161 files changed

+8443
-868
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+8443
-868
lines changed

.github/workflows/ci-spec.yml

Lines changed: 66 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,39 @@ jobs:
4040
name: core-rendered
4141
path: document/core/_build/html
4242

43-
build-legacy-exceptions-spec:
43+
build-js-api-spec:
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Checkout repo
47+
uses: actions/checkout@v2
48+
- name: Setup Bikeshed
49+
run: pip install bikeshed && bikeshed update
50+
- name: Run Bikeshed
51+
run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html"
52+
- name: Upload artifact
53+
uses: actions/upload-artifact@v2
54+
with:
55+
name: js-api-rendered
56+
path: document/js-api/index.html
57+
58+
build-web-api-spec:
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Checkout repo
62+
uses: actions/checkout@v2
63+
- name: Setup Bikeshed
64+
run: pip install bikeshed && bikeshed update
65+
- name: Run Bikeshed
66+
run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html"
67+
- name: Upload artifact
68+
uses: actions/upload-artifact@v2
69+
with:
70+
name: web-api-rendered
71+
path: document/web-api/index.html
72+
73+
build-code-metadata-spec:
4474
runs-on: ubuntu-latest
75+
needs: [build-core-spec]
4576
steps:
4677
- name: Checkout repo
4778
uses: actions/checkout@v2
@@ -52,46 +83,50 @@ jobs:
5283
- name: Setup Sphinx
5384
run: pip install six && pip install sphinx==5.1.0
5485
- name: Build main spec
55-
run: cd document/legacy/exceptions && make main
86+
run: cd document/metadata/code && make main
5687
- name: Upload artifact
5788
uses: actions/upload-artifact@v2
5889
with:
59-
name: legacy-exceptions-rendered
60-
path: document/legacy/exceptions/_build/html
90+
name: code-metadata-rendered
91+
path: document/metadata/code/_build/html
6192

62-
build-js-api-spec:
93+
build-legacy-exceptions-core-spec:
6394
runs-on: ubuntu-latest
6495
steps:
6596
- name: Checkout repo
6697
uses: actions/checkout@v2
67-
- name: Setup Bikeshed
68-
run: pip install bikeshed && bikeshed update
69-
- name: Run Bikeshed
70-
run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html"
98+
with:
99+
submodules: "recursive"
100+
- name: Setup TexLive
101+
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
102+
- name: Setup Sphinx
103+
run: pip install six && pip install sphinx==5.1.0
104+
- name: Build main spec
105+
run: cd document/legacy/exceptions/core && make main
71106
- name: Upload artifact
72107
uses: actions/upload-artifact@v2
73108
with:
74-
name: js-api-rendered
75-
path: document/js-api/index.html
109+
name: legacy-exceptions-core-rendered
110+
path: document/legacy/exceptions/core/_build/html
76111

77-
build-web-api-spec:
112+
build-legacy-exceptions-js-api-spec:
78113
runs-on: ubuntu-latest
79114
steps:
80115
- name: Checkout repo
81116
uses: actions/checkout@v2
82117
- name: Setup Bikeshed
83118
run: pip install bikeshed && bikeshed update
84119
- name: Run Bikeshed
85-
run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html"
120+
run: bikeshed spec "document/legacy/exceptions/js-api/index.bs" "document/legacy/exceptions/js-api/index.html"
86121
- name: Upload artifact
87122
uses: actions/upload-artifact@v2
88123
with:
89-
name: web-api-rendered
90-
path: document/web-api/index.html
124+
name: legacy-exceptions-js-api-rendered
125+
path: document/legacy/exceptions/js-api/index.html
91126

92127
publish-spec:
93128
runs-on: ubuntu-latest
94-
needs: [build-core-spec, build-legacy-exceptions-spec, build-js-api-spec, build-web-api-spec]
129+
needs: [build-core-spec, build-js-api-spec, build-web-api-spec, build-code-metadata-spec, build-legacy-exceptions-core-spec, build-legacy-exceptions-js-api-spec]
95130
steps:
96131
- name: Checkout repo
97132
uses: actions/checkout@v2
@@ -102,11 +137,6 @@ jobs:
102137
with:
103138
name: core-rendered
104139
path: _output/core
105-
- name: Download legacy exceptions spec artifact
106-
uses: actions/download-artifact@v2
107-
with:
108-
name: legacy-exceptions-rendered
109-
path: _output/legacy/exceptions
110140
- name: Download JS API spec artifact
111141
uses: actions/download-artifact@v2
112142
with:
@@ -117,6 +147,21 @@ jobs:
117147
with:
118148
name: web-api-rendered
119149
path: _output/web-api
150+
- name: Download code metadata spec artifact
151+
uses: actions/download-artifact@v2
152+
with:
153+
name: code-metadata-rendered
154+
path: _output/metadata/code
155+
- name: Download legacy exceptions core spec artifact
156+
uses: actions/download-artifact@v2
157+
with:
158+
name: legacy-exceptions-core-rendered
159+
path: _output/legacy/exceptions/core
160+
- name: Download legacy exceptions JS API spec artifact
161+
uses: actions/download-artifact@v2
162+
with:
163+
name: legacy-exceptions-js-api-rendered
164+
path: _output/legacy/exceptions/js-api
120165
- name: Publish to GitHub Pages
121166
if: github.ref == 'refs/heads/main'
122167
uses: peaceiris/actions-gh-pages@v3

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,11 @@ Original `README` from upstream repository follows.
2121

2222
# spec
2323

24-
This repository holds a prototypical reference implementation for WebAssembly,
25-
which is currently serving as the official specification. Eventually, we expect
26-
to produce a specification either written in human-readable prose or in a formal
27-
specification language.
24+
This repository holds the sources for the WebAssembly specification,
25+
a reference implementation, and the official test suite.
2826

29-
It also holds the WebAssembly testsuite, which tests numerous aspects of
30-
conformance to the spec.
31-
32-
View the work-in-progress spec at [webassembly.github.io/spec](https://webassembly.github.io/spec/).
33-
34-
At this time, the contents of this repository are under development and known
35-
to be "incomplet and inkorrect".
27+
A formatted version of the spec is available here:
28+
[webassembly.github.io/spec](https://webassembly.github.io/spec/),
3629

3730
Participation is welcome. Discussions about new features, significant semantic
3831
changes, or any specification change likely to generate substantial discussion

deploy_key

Lines changed: 0 additions & 49 deletions
This file was deleted.

deploy_key.pub

Lines changed: 0 additions & 1 deletion
This file was deleted.

document/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRS = core js-api web-api legacy/exceptions
1+
DIRS = core js-api web-api metadata/code legacy/exceptions
22
FILES = index.html
33
BUILDDIR = _build
44
TAR = tar

0 commit comments

Comments
 (0)