upload-rust-binary-action icon indicating copy to clipboard operation
upload-rust-binary-action copied to clipboard

Question: How to add library dependency to build action

Open gintsgints opened this issue 7 months ago • 1 comments

For my project https://github.com/gintsgints/raiti I have build actions which requires alsa library added to linux-gnu build machine. For now job fails on linux because this library is not installed.

How I can do this?

gintsgints avatar May 24 '25 12:05 gintsgints

This repository is about create-gh-release-action which has no build stuff, so assuming you are talking about upload-rust-binary-action.

  • For native compilation, it can probably be installed by calling APT before running upload-rust-binary-action.
  • For cross compilation with the default method, please refer to Cross's Wiki on how to add dependencies.
    • However, for aarch64 linux-gnu, it may be better to use the Arm runner of GitHub Actions (e.g., ubuntu-24.04-arm) instead of cross compilation.

taiki-e avatar May 24 '25 13:05 taiki-e