CI: Split the RISC-V Build Jobs into smaller jobs

To speed up the CI Workflow, this PR splits the CI Build Jobs for RISC-V into smaller jobs. Each job will now complete within 1 hour.

Before the PR: There are 2 jobs for RISC-V, each requiring more than 1.5 hours
- `risc-v-01` (1 hour 42 mins): BL602, Ox64, ESP32-C3 / C6 / H2
- `risc-v-02` (1 hour 41 mins): K230, Icicle, QEMU, RV32M1-Vega

After the PR: The build is spread across 6 jobs for RISC-V, each job completes within 1 hour
- `risc-v-01` (19 mins): BL602, Ox64
- `risc-v-02` (44 mins): ESP32-C3
- `risc-v-03` (45 mins): ESP32-C6, ESP32-H2
- `risc-v-04` (31 mins): K230, Icicle
- `risc-v-05` (41 mins): QEMU CITest
- `risc-v-06` (38 mins): Rest of QEMU, RV32M1-Vega

Following the same convention as the Arm32 Build Jobs, the above jobs are sorted by Target Name. Performance of the RISC-V Build Jobs is discussed in https://github.com/apache/nuttx/issues/13775
This commit is contained in:
Lup Yuen Lee 2024-10-09 22:00:12 +08:00 committed by Xiang Xiao
parent 110ab50f50
commit 80d03cb296
7 changed files with 22 additions and 8 deletions

View file

@ -127,7 +127,11 @@ jobs:
[
"arm-01", "other", "risc-v-01", "sim-01", "xtensa-01",
"arm-02", "risc-v-02", "sim-02", "xtensa-02",
"arm-03", "arm-04", "arm-05", "arm-06", "arm-07", "arm-08", "arm-09", "arm-10", "arm-11", "arm-12", "arm-13", "arm-14"
"arm-03", "risc-v-03",
"arm-04", "risc-v-04",
"arm-05", "risc-v-05",
"arm-06", "risc-v-06",
"arm-07", "arm-08", "arm-09", "arm-10", "arm-11", "arm-12", "arm-13", "arm-14"
]
# Run the selected Linux Builds

View file

@ -1 +1,2 @@
/risc-v/[a-e]*
/risc-v/[a-d]*
/risc-v/e[0-r]*

View file

@ -1,6 +1 @@
/risc-v/[f-s]*
-,arty_a7:.+
# Boards build by CMake
CMake,rv-virt:smp
CMake,rv-virt:smp64
/risc-v/esp32c[0-5]*

View file

@ -0,0 +1,2 @@
/risc-v/esp32c[6-z]*
/risc-v/esp32[d-z]*

View file

@ -0,0 +1,4 @@
/risc-v/e[t-z]*
/risc-v/[f-p]*
/risc-v/q[0-d]*
-,arty_a7:.+

View file

@ -0,0 +1 @@
/risc-v/qemu-rv/rv-virt/configs/[a-c]*

View file

@ -0,0 +1,7 @@
/risc-v/qemu-rv/rv-virt/configs/[d-z]*
/risc-v/q[f-z]*
/risc-v/[r-z]*
# Boards build by CMake
CMake,rv-virt:smp
CMake,rv-virt:smp64