Skip to content

Commit e3def81

Browse files
committed
ci: consolidate panic=unwind builds into a single cargo invocation
1 parent af0f977 commit e3def81

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,10 @@ jobs:
142142
cargo-${{ runner.os }}-panic-unwind-
143143
cargo-${{ runner.os }}-
144144
145-
# Verify every gloo crate that wraps user closures via `Closure::wrap`
146-
# / `Closure::once` still builds cleanly under `panic = "unwind"`
147-
# against the `MaybeUnwindSafe` bounds added in wasm-bindgen 0.2.117+.
148-
# Catches downstream regressions like
149-
# https://github.com/MattiasBuelens/wasm-streams/pull/35 from creeping
150-
# in. The crates listed here are the ones that host wasm-bindgen
151-
# closures; the others have no relevant code path.
152145
- name: Build crates with panic=unwind
153146
env:
154147
RUSTFLAGS: '-Cpanic=unwind'
155-
run: |
156-
cargo build -p gloo-timers --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
157-
cargo build -p gloo-timers --features futures --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
158-
cargo build -p gloo-events --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
159-
cargo build -p gloo-render --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
160-
cargo build -p gloo-net --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
161-
cargo build -p gloo-worker --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
148+
run: cargo build -p gloo-timers -p gloo-events -p gloo-render -p gloo-net -p gloo-worker --all-features --target wasm32-unknown-unknown -Zbuild-std=std,panic_unwind
162149

163150
test-history-wasi:
164151
name: Test gloo-history WASI

0 commit comments

Comments
 (0)