Skip to content

Commit fa92c4f

Browse files
committed
Add CI for wasm
1 parent f112c08 commit fa92c4f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,18 @@ jobs:
6060

6161
- name: Run tests no features
6262
run: cargo test --no-default-features
63+
64+
wasm:
65+
name: Run tests in wasm
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v3
69+
- name: Install Rust
70+
uses: dtolnay/rust-toolchain@stable
71+
with:
72+
targets: wasm32-unknown-unknown
73+
- name: Run tests default features
74+
run: cargo test --target wasm32-unknown-unknown
75+
76+
- name: Run tests no features
77+
run: cargo test --no-default-features --target wasm32-unknown-unknown

0 commit comments

Comments
 (0)