Skip to content

Commit

Permalink
CI: Split the RISC-V Build Jobs into smaller jobs
Browse files Browse the repository at this point in the history
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 apache#13775
  • Loading branch information
lupyuen committed Oct 9, 2024
1 parent 47fc3a6 commit 8df19f7
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tools/ci/testlist/risc-v-01.dat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/risc-v/[a-e]*
/risc-v/[a-d]*
/risc-v/e[0-r]*
7 changes: 1 addition & 6 deletions tools/ci/testlist/risc-v-02.dat
Original file line number Diff line number Diff line change
@@ -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]*
2 changes: 2 additions & 0 deletions tools/ci/testlist/risc-v-03.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/risc-v/esp32c[6-z]*
/risc-v/esp32[d-z]*
4 changes: 4 additions & 0 deletions tools/ci/testlist/risc-v-04.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/risc-v/e[t-z]*
/risc-v/[f-p]*
/risc-v/q[0-d]*
-,arty_a7:.+
1 change: 1 addition & 0 deletions tools/ci/testlist/risc-v-05.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/risc-v/qemu-rv/rv-virt/configs/[a-c]*
7 changes: 7 additions & 0 deletions tools/ci/testlist/risc-v-06.dat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8df19f7

Please sign in to comment.