Skip to content

Run in CI/GitHub Actions #147

Open
Open
@stefnotch

Description

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

  • 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?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions