Skip to content

Commit 9d638e0

Browse files
committed
Add MVP Web CI Task
1 parent 83dc528 commit 9d638e0

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,19 @@ jobs:
250250

251251
- name: Powerset
252252
run: cargo hack check --each-feature -Z avoid-dev-deps
253+
254+
wasm32v1-none:
255+
name: Build / MVP Web
256+
runs-on: ubuntu-latest
257+
steps:
258+
- name: Checkout sources
259+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
260+
261+
- name: Install Rust toolchain
262+
run: rustup update nightly && rustup target add --toolchain stable wasm32v1-none
263+
264+
- name: No features
265+
run: cargo +nightly build -Z avoid-dev-deps --target wasm32v1-none --no-default-features
266+
267+
- name: Version features
268+
run: cargo +nightly build -Z avoid-dev-deps --target wasm32v1-none --no-default-features --features "js v1 v3 v4 v5 v6 v7 v8 serde"

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,9 @@ version = "1.0"
197197
version = "1.0.56"
198198

199199
[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none")))'.dev-dependencies.wasm-bindgen]
200-
default-features = false
201-
features = ["msrv"]
202200
version = "0.2"
203201

204202
[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none")))'.dev-dependencies.wasm-bindgen-test]
205-
default-features = false
206203
version = "0.3"
207204

208205
[dev-dependencies.trybuild]

0 commit comments

Comments
 (0)