Skip to content

Commit 026ccdd

Browse files
committed
Fix CI
1 parent 2c9c830 commit 026ccdd

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ jobs:
124124
- name: Install Wasmtime
125125
uses: bytecodealliance/actions/wasmtime/setup@v1
126126

127+
# `scene` requires `bevy_asset`, which pulls in `wasm-bindgen` that can't be used with Wasmtime.
127128
- name: Test
128-
run: cargo test --target wasm32-wasip1
129+
run: cargo test --target wasm32-wasip1 --no-default-features --features=client,server
129130
env:
130131
CARGO_TARGET_WASM32_WASIP1_RUNNER: wasmtime
131132

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ bytes = { version = "1.10", default-features = false, features = [
5353
[dev-dependencies]
5454
ron = { version = "0.12", default-features = false }
5555
bevy = { version = "0.18", default-features = false, features = [
56-
"bevy_log",
57-
"bevy_sprite_render",
5856
"debug",
5957
"serialize",
6058
] }
6159
test-log = "0.2"
6260

6361
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
62+
bevy = { version = "0.18", default-features = false, features = [
63+
"bevy_log",
64+
"bevy_sprite_render",
65+
] }
6466
criterion = { version = "0.8", default-features = false, features = [
6567
"cargo_bench_support",
6668
] }

0 commit comments

Comments
 (0)