Workflow fixes

This commit is contained in:
Danny McGee
2023-10-02 20:05:42 -04:00
parent 82e3d791bc
commit 64133de881
5 changed files with 41 additions and 84 deletions
-68
View File
@@ -22,71 +22,3 @@ wasm = ["dep:console_error_panic_hook"]
[dependencies.bevy]
workspace = true
default-features = false
# TODO: Narrow this down to the features we actually need
# FIXME: WebGPU is sparsely supported, but using the default WebGL backend
# causes a panic upstream: "Tex storage 2D multisample is not supported"
features = [
"animation",
"bevy_asset",
"bevy_audio",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"png",
"hdr",
"ktx2",
"zstd",
"vorbis",
"x11",
"filesystem_watcher",
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"default_font",
]
[target.'cfg(not(target_family = "wasm"))'.dependencies.bevy]
workspace = true
default-features = false
features = [
"animation",
"bevy_asset",
"bevy_audio",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"png",
"hdr",
"ktx2",
"zstd",
"vorbis",
"x11",
"filesystem_watcher",
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"default_font",
# TODO: This line is the only difference from default. Is there a way to
# deduplicate the feature list?
"dynamic_linking",
]
# FIXME: Profiles for the non-root package are ignored, but [target] keys are
# not allowed in the root package >_<
# [target.'cfg(target_family = "wasm")'.profile.release]
# opt-level = "z"
+3 -4
View File
@@ -27,11 +27,10 @@
"parallel": false
}
},
"run": {
"executor": "@nxrs/cargo:build",
"dev": {
"executor": "@nxrs/cargo:run",
"options": {
"release": false,
"run": true,
"profile": "dev-custom",
"bin": "studio-standalone"
}
},