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
Library Dependencies in library.json not fetched for pio CI #1074
Comments
Thanks! I'll take a look on that very soon! Temporary solution:
See http://docs.platformio.org/en/latest/userguide/cmd_ci.html#cmdoption-platformio-ci-o |
Is this |
@r41d I removed my comment. What is your use case? Could you put your dependencies to the See https://docs.platformio.org/en/latest/librarymanager/dependencies.html |
I'm currently in the process of migrating a library (ClusterDuck-Protocol) from dependencies via git submodules to dependencies, this has to be done for both Arduino IDE ( |
If you plan to use your library later with the PlatformIO project, PlatformIO will resolve all dependencies. You don't need to install them manually. Please note that you can "symlink" your library in PlatformIO ( https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html#local-folder ) instead of hard copying. |
Thanks for the tip. |
Configuration
Operating system: OSX 10.12
PlatformIO Version (
platformio --version
): 3.4.1Description of problem
Library Dependencies are not fetched when running CI
Steps to Reproduce
pio ci
on a library with a dependency sectionActual Results
Dependency is not fetched and dependencies are not met therefore build fails. Installing the library via pio lib install gets the dependent library.
https://travis-ci.org/cujomalainey/antplus-arduino/jobs/276188370
Expected Results
Dependencies should be fetched for CI
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
https://github.com/cujomalainey/antplus-arduino
Additional info
The text was updated successfully, but these errors were encountered: