axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.33k stars 56 forks source link

Add Prebuilt-MPR before installing dependencies #1008

Open oeb25 opened 2 months ago

oeb25 commented 2 months ago

I'm wondering if it would be a good idea to have Prebuilt-MPR set up in CI? I'm trying to use just which is only available through apt with Prebuild-MPR.

Other proposed solutions such as #872 might alleviate this need, but right now I can't see a way of working around this.

Another option would be to have a thing like taiki-e/install-action to install binaries from in a platform independent way.

One thing that would solve this for me now, is to manually edit release.yml but then I need to add allow-dirty, which I would rather not.

Background: I'm using just as part of my build.rs for building a web frontend which is statically included in the distributed binary using rust-embed.

ashleygwilliams commented 1 month ago

hey @oeb25 - apologies for the delayed response here. i definitely know of several people using just and so making sure we can enable that workflow is useful. i agree that editing the generated file is undesirable so i'm glad you filed. i think it's possible that you could use custom jobs to help facilitate this... could you provide an example of how you might edit the release.yml to make this work? from there i can sort how we can make cargo-dist generate it. are you at all interested in contributing? no worries if not, but i always like to ask. we are happy to mentor :)