Open kpcyrd opened 4 years ago
Any updates? š (Also: is there a way to run a few startup shell commands in the docker image before we proceed to the compilation? instead of creating and maintaining a new docker image?)
I would also like this feature for the same use case as above of needing an external library to compile my code.
Do the checklist before filing an issue:
actions-rs
Actions? If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.communityMotivation
I'm currently using github actions to test-build my project with for x86_64. I'd like to extend this to other architectures, and there's an example in the README on how to do that. I've tried to use that for my project, but then noticed the build fails my project depends on additional libaries that are missing in the cross build container. This is related to https://github.com/rust-embedded/cross/issues/149 but it's unclear how to use the hacks mentioned in the issue with github actions.
Workflow example
I don't know what's the best way to integrate this, and I assume it'd need proper support by cross.
Additional context
I wrote this script in an attempt to apply the workarounds mentioned in the cross issue tracker, but couldn't get it to work because I need to have the cross binary in advance to detect the version for the image I'm preparing (therefore this is all untested):