Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature] Add OS dependencies in ci #104

Closed
woile opened this issue Feb 6, 2023 · 1 comment
Closed

[Feature] Add OS dependencies in ci #104

woile opened this issue Feb 6, 2023 · 1 comment
Labels
feature request New feature or request help wanted Extra attention is needed

Comments

@woile
Copy link

woile commented Feb 6, 2023

Hello there! First, thanks for this awesome tool! I did a quick swap of my previous release pipeline with the generated by cargo dist init --ci=github and I got this error:

Package pango was not found in the pkg-config search path.

See pipeline error for more.

It is related to the OS dependencies required by the package. I solved it by adding some steps to the pipeline, and everything worked fine 🎉

I was wondering if I missed something or the approach I took was okay. In the docs, I see a configuring-targets. It would be nice to be able to add required deps per target os. I couldn't find an issue related, I apologize if it's already there.

For example:

[profile.dist.target.os.ubuntu]
deps = "libgtk-3-dev"
[profile.dist.target.os.macos]
deps = "cairo"

Cheers!

@Gankra Gankra added feature request New feature or request help wanted Extra attention is needed labels Feb 7, 2023
@Gankra
Copy link
Contributor

Gankra commented Feb 7, 2023

I agree, someone beat you to the punch filing #102 though! :)

@Gankra Gankra closed this as completed Feb 7, 2023
mistydemeo added a commit that referenced this issue Jun 17, 2024
chore(deps): bump axoasset from 0.8.0 to 0.9.0
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants