Skip to content

Commit 5f24ec2

Browse files
authored
Add experimental wasm binding (#737)
1 parent 271f49b commit 5f24ec2

File tree

13 files changed

+2069
-41
lines changed

13 files changed

+2069
-41
lines changed

.github/workflows/tests.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
run: make wasi-test
121121

122122
test-python:
123-
name: Test on Python binding
123+
name: Test Python binding
124124
runs-on: ubuntu-latest
125125

126126
steps:
@@ -131,6 +131,22 @@ jobs:
131131
- uses: Swatinem/rust-cache@v2
132132
- name: Test
133133
run: make python-test
134+
135+
test-js:
136+
name: Test JS binding
137+
runs-on: ubuntu-latest
138+
139+
steps:
140+
- uses: actions/checkout@v4
141+
- uses: dtolnay/rust-toolchain@master
142+
with:
143+
toolchain: stable
144+
- uses: Swatinem/rust-cache@v2
145+
- name: Install wasm-pack
146+
run: |
147+
curl -sSf https://rustwasm.github.io/wasm-pack/installer/init.sh | sh
148+
- name: Test
149+
run: make js-test
134150

135151
test-cli-linux:
136152
name: Test CLI Linux

0 commit comments

Comments
 (0)