Automatically install rust toolchain for CI
CI / cargo fmt (pull_request) Has been cancelled
CI / cargo test (pull_request) Has been cancelled
CI / cargo test (GPU) (pull_request) Has been cancelled
CI / cargo fmt (push) Successful in 9m27s
CI / cargo test (push) Successful in 27m45s
CI / cargo test (GPU) (push) Failing after 16m51s
CI / cargo fmt (pull_request) Has been cancelled
CI / cargo test (pull_request) Has been cancelled
CI / cargo test (GPU) (pull_request) Has been cancelled
CI / cargo fmt (push) Successful in 9m27s
CI / cargo test (push) Successful in 27m45s
CI / cargo test (GPU) (push) Failing after 16m51s
This commit is contained in:
@@ -9,9 +9,11 @@ pub fn main() -> anyhow::Result<()> {
|
||||
.copied()
|
||||
.collect::<PathBuf>();
|
||||
|
||||
let install = Install::from_shader_crate(crate_path.clone())
|
||||
.within_build_script()
|
||||
.run()?;
|
||||
let mut install = Install::from_shader_crate(crate_path.clone());
|
||||
install.build_script = true;
|
||||
install.auto_install_rust_toolchain = true;
|
||||
let install = install.run()?;
|
||||
|
||||
let mut builder = install.to_spirv_builder(crate_path, "spirv-unknown-vulkan1.3");
|
||||
builder.build_script.defaults = true;
|
||||
builder.shader_panic_strategy = ShaderPanicStrategy::SilentExit;
|
||||
|
||||
Reference in New Issue
Block a user