-
Notifications
You must be signed in to change notification settings - Fork 34
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
Need example for installing custom libraries #281
Comments
Hi Strooom- It sounds like my documentation on the GitHub Action page isn't quite good enough. I only really mention the script in the hypothetical as if it was already written and not how to write it:
In your case, it sounds like that script would be something like this #!/bin/sh
#
# install.sh script for use with arduino_ci
# - this script will be run from the Arduino libraries directory.
# - download the latest version of the Strooom/logging library as myLoggingLibrary
git clone https://github.com/Strooom/logging.git
mv logging myLoggingLibrary # not sure if this is needed In other words, pretend you have just typed The Could you let me know which documentation you ran across while trying to solve this problem? That will help me put the information in a more obvious place. |
Hi Ian, thanks for your help.
Still, I'm willing to try, error and learn, so let me add the |
Ok, that was easier than I expected : I added the install.sh file to the root of the repository, and it just works.
As my custom library does not name conflict with an existing official Arduino library, nothing more was required. |
You may be interested in tracking #278 , as it will remove the need for a custom script in use cases like yours |
I've started to systematically do CI on the Arduino libraries I am developing.
This all works fine for libraries with only "official" library versions as dependencies
But now I get to the point where the library under development, uses another library of mine:
example :
https://github.com/Strooom/STMPE811_SPI
depends onhttps://github.com/Strooom/logging
.From the documentation this seems possible by :
Could you please provide an example
install.sh
andarduino_ci.yml
for installing a depended on custom library which is Arduino library compliant and available on github. I think this is the most common case beyond using only official Arduino libraries.Thanks!
The text was updated successfully, but these errors were encountered: