-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency specified in meta-data is not installed #1417
Comments
I can no longer find the entry in the docs that explained using [workspace.metadata.dist.dependencies.apt] Is that still an option, or is using:
the only supported mechanism, and hence the one I should use? |
Pending response, I'm trying to install the linkers I require myself via that customization method. Getting this error:
It looks like that is because it is running that on all platforms (macos included), so I will have to check runner.os in that yml snippet? |
I'm getting closer to having release artifact builds working. Now aarch64 linux build (for RPi) works, but armv7 (32bit for Pi 3) fails with a linkage report error. That error sounds familiar from other issues I have seen here, so I will close this and move on to finding the fix for that error, maybe in an existing issue... I assume the declarative way of defining dependencies in Cargo.toml has been deprecated and the "procedural" way of customizing the builds via an additional yml snippet is the way to go and works. |
@andrewdavidmackenzie Can you please reopen this, I don't think this is resolved, and I don't think it should be solved with github build setup steps. It should just install via |
I have added the
armv7-unknown-linux-gnueabihf
target to my cargo-dist list of targets:And I specified the toolchain associated with that target as an install dependency via the meta-data:
However, in the GH Action Release run
you can see that the "Install dependencies" step is empty and the armv7 toolchain is not installed.
I have verified the target is correct, the linker name correct and the package to install is correct, and the build works in local Linux and GH Actions.
The text was updated successfully, but these errors were encountered: