tests_hw: GHA introduce Raspberry PI runner#202
tests_hw: GHA introduce Raspberry PI runner#202mgeeIOL wants to merge 3 commits intoproject-ocre:mainfrom
Conversation
Adds additional tests utilizing the Raspberry PI 5 runner. Currently tests run are mostly a copy of current Linux and native_sim tests but these will be expanded upon in future commits. Signed-off-by: Matthew Gee <mgee@iol.unh.edu>
85ea9a4 to
8b04724
Compare
…ial-basic-rp5-tests
|
bear with us. we are going to add the arm64 container image in 2 weeks, so you can use that image in rpi. for now, if you like you can just build the image manually and use it in the runner. |
|
I am not sure if it is worth to test (Zephyr) native_sim on arm64. I would instead just run |
Makes sense, I will remove the zephyr tests for now |
I can wait on this if needed, for clarification are you referring to the devcontainer images or adding ARM64 to the ocre runtime support? My previous understanding was there was no intention to add ARM64 to the supported build targets. I am running the current builds outside of a devcontainer to keep the entire process localized to arm to replicate individual runs, I plan on introducing the devcontainer later if that is your concern. |
6bb6d86 to
59c5050
Compare
Removes zephyr native_sim tests as they are redundent in the overall CI pipeline. At this point the Raspberry Pi test file is redundant so removed references to it and added the runner to the linux tests file. Also seperated the test-coverage job from the rest of the Linux tests to prevent this step from being run more than once. Signed-off-by: Matthew Gee <mgee@iol.unh.edu>
59c5050 to
237ea39
Compare
|
I think based on earlier discussions, since the RPI Matt has is only 1GB version, running docker containers there might not be the best case. Would it maybe more sense to just create an additional workflow as part of our hardware tests and run it as a last step, similarly to how we run U585 tests right now? This way we won't be needing to modify current containerized workflow, and Matt can customize the new one to run natively on the RPI, as he wanted. |
|
There are pros and cons to separating the Raspberry Pi linux tests. The main reason I see to keep them together is to make it so changing linux tests only requires editing one file instead of two. If we need to add additional tests only on the raspberry pi in the future we can add additional workflows/files later in the overall workflow. Although I am not opposed to separating them now if we intend to run additional or modified tests on the raspberry pi. I do not think running docker on the Raspberry Pi will be the biggest problem, from some brief testing the Raspberry Pi seemed to run Ubuntu containers fine. I am not strongly opinionated either way, I had the files separate initially as that just seemed more logical given the linux tests do not necessarily require a container to run successfully but I am not opposed to using a container for ensured consistency between runs. |
|
We can maybe then try building arm based docker containers via GH runners (if they are available freely for open source projects like ocre) and then you'd just add RPI to the linux job, and pull the appropriate container, if it works as you claim. |
Add additional tests utilizing the new Raspberry PI 5 Github actions agent.
Goal of this PR is to get to a similar point as with the current linux build tests. (with mini, demo, and systests)