You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to ask if there's a good way of running this in a GitHub action. As in, if I have a Rust project that depends on shaderc-rs, and I want to compile it in a GitHub action, what's the most practical way of doing so?
From what I can tell, the current options are
Install Vulkan SDK in a GitHub action. This sadly takes longer than the entire Rust compilation, so it's not a good option.
Compile Shaderc in a GitHub action. Harder to set up, and still rather slow.
Find a precompiled shaderc library and get it into a GitHub action. Probably the most practical option?
And then there's a wild alternative
Compile Shaderc to WASM, and then use a Rusty WASM runtime to run that. That would definitely be slower than the precompiled option, but it might be interesting, because it would let this library run on far more platforms?
What would you recommend?
The text was updated successfully, but these errors were encountered:
We only need the shaderc library from the Vulkan SDK so no need to install the full Vulkan SDK. I agree that the third option is better. Maybe you can extract the shaderc libraries from the Vulkan SDK and put it in a git repo (with git large file storage if necessary) that you can checkout in github action? Other ideas include looking at GitHub action caches (https://github.com/actions/cache) to avoid download every time. Hopefully this help.s
Thank you for this lovely library.
I wanted to ask if there's a good way of running this in a GitHub action. As in, if I have a Rust project that depends on shaderc-rs, and I want to compile it in a GitHub action, what's the most practical way of doing so?
From what I can tell, the current options are
And then there's a wild alternative
What would you recommend?
The text was updated successfully, but these errors were encountered: