-
Notifications
You must be signed in to change notification settings - Fork 776
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
Fix arduino_cron to actually build stuff #2837
Conversation
Apparently since adafruit#2497, in which the extra 'checkout' line was lost, we have not actually been building the arduino artifacts during CI. The line may have looked like a mistake or duplicate when the CI was revised.
Unfortunately, due to having had ~13 months to bit rot, there are multiple examples/guide programs that do NOT build. Someone will need to go through case by case and fix them :-/ a couple examples:
(my guess: new library needed but not installed?)
(my guess: example not applicable to this microcontroller, needs a ".only" file?) |
These named platforms (ch552, trrstrinkey_m0, shttrinkey_m0, pixeltrinkey_m0) may not be correct and they need to be listed in ci-arduino all_platforms.py and arduino_cron.yml to work. The main goal is to get OTHER microcontroller builds to skip these examples.
OK, naming a doesn't-exist-yet platform doesn't work: "This example does not have a valid .platform.test.only file" |
as long as ch552 is not a ci-arduino recognized board, it has to be a "none.test.only" file. Rename these once the related issue is closed in ci-arduino.
getting a weird error for the trrs trinkey:
otherwise it seems all of the other builds are passing. will look more into it tomorrow |
I think a missing "variant.h" file means something about the board support is incomplete in arduino. normally there's a file called variant.h for each board
|
yes but what's strange is trrs does have a variant file: https://github.com/adafruit/ArduinoCore-samd/blob/master/variants/trrstrinkey_m0/variant.h |
some places it's capitalized as TRRStrinkey that might be OK on Windows, but Linux is always case sensitive about files. Like, if Linux is told to include a folder called This problem would likely go unnoticed by windows & mac developers. |
should there be a PR to the bsp to have everything match case then? |
I think so. I did verify I get the same error locally on Linux when compiling a blink sketch for TRRStrinkey. |
the uppercase version is also called out in ci-arduino so there may be 3 places to change |
okay excellent, i can do the PR and see where we end up 🙂 |
tag me on it if you don't have linux for testing |
i reverted the changes we did to the arduino core because it did not solve the issues here and was throwing errors on compiling. i'm thinking that since this is a larger issue and currently there are only two TRRS Trinkey Arduino scripts (basic demo and factory test) that for now we remove it from CI to resolve this PR and continue investigating after a merge so that the CI can be back in action
i reverted the changes we did to the arduino core because it did not solve the issues here and was throwing errors on compiling on my machine. i'm thinking that since this is a larger issue and currently there are only two TRRS Trinkey Arduino scripts (basic demo and factory test) that for now we remove it from CI to resolve this PR and continue investigating after a merge so that the CI can be back in action |
thanks Liz! |
Apparently since #2497, in which the extra 'checkout' line was lost, we have not actually been building the arduino artifacts during CI.
The line may have looked like a mistake or duplicate when the CI was revised, so I added a comment.
Please check the CI logs to see that there actually artifacts!