Open hpsaturn opened 3 years ago
I tryed to replicate it in my library, and I have the same issue on *.ino
projects, but in my platformio
example, works fine:
https://github.com/kike-canaries/canairio_sensorlib/blob/av/ci_improvement/platformio.ini
Later, I'll try to test the wildcard, but is weird because works fine only for this directory.
I do not recommend building that from root folder. Better, import an example as an Arduino project and build it individually. That plaformio.ini on root is only used for development testing
I'm just using platformio, and all works fine, but I was try to add a workflow on your repo, because it has not CI, for this reason I think that issue should be to resolve. The idea be a send a pull request with that. Let me review the issue..
In order to compile all variants from root you need to rename ino files to cpp. I guess it is a PlatformIO bug. I'm not an expert on CI (at all) so that's great if you add any feature in that way
I added a PR for that the proyect will have a continous integration with github workflow, for now it only will be test the two architectures. But maybe a better clean solution is fix the *.ino files issue.
Thank you!!!
No problem, but we could leave open this issue because the PR only give CI compiling test feature to this library, but this issue exists yet.
Sure!
I think that we have a issue with
pio run
on root directory:after clone, when I run it, I have on all environments: