apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.91k stars 1.18k forks source link

[FEATURE] Revising the Arm32 Targets for CI Build #14259

Open lupyuen opened 1 month ago

lupyuen commented 1 month ago

Is your feature request related to a problem? Please describe.

Over the weekend we had CI Build Issues that took a while to resolve:

Our CI Build for Arm32 Targets requires 2.5 hours to run (arm-01 to arm-14). It takes some time to catch all the errors, patch them, re-run the build. And we might hit errors again. Let's improve this.

Describe the solution you'd like

What if we could validate the defconfig files earlier, before any builds? (Suggested by @GUIDINGLI)

Do we really need to build so many Arm32 Targets every time?

These are the Arm32 Targets that we should keep for the CI Build, suggested by @GUIDINGLI:

Here's the complete list of 932 Arm32 Targets (search for arm-01 to arm-13)

Hi @xiaoxiang781216 @acassis @cederom what do you think? Thanks!

Describe alternatives you've considered

No response

Verification

GUIDINGLI commented 1 month ago

@pkarashchenko @masayuki2009

Let's build & run the board which really needed: https://github.com/apache/nuttx/pull/14007

cederom commented 1 month ago
lupyuen commented 1 month ago

Hi @GUIDINGLI: This script will validate all defconfig files for all targets: arm-01 to arm-14, risc-v-01 to risc-v-06, etc. Lemme figure out how to add this to our CI Workflow, meanwhile we can run it manually. Thanks!

https://github.com/lupyuen/nuttx-riscv64/blob/main/check-config.sh

Update: Here's the PR that will validate all defconfig files before building: https://github.com/apache/nuttx/pull/14317. Now waiting for the CI Backlog to clear. Thanks!

Update 2: Nope the PR doesn't work sigh

Update 3: The PR works OK now yay!