Skip to content

Commit

Permalink
CI: Build only Arm32 Targets arm-01 / 03 / 05 / 06 / 07 / 09 / 11 for…
Browse files Browse the repository at this point in the history
… Complex PRs

This PR updates the Build Rules `arch.yml` to build only these Arm32 Targets when we create or update a Complex PR:
- arm-01, arm-03, arm-05, arm-06, arm-07, arm-09, arm-11

No changes for Simple PRs (arm-01 to arm-14) and for Merging PRs (also arm-01 to arm-14).

This will improve our breadth of CI Checks across Arm32 Targets, as explained here: apache/nuttx#14376
  • Loading branch information
lupyuen committed Oct 20, 2024
1 parent 52a50ea commit ec458f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ jobs:
# If PR was Created or Modified: Exclude some boards
pr=${{github.event.pull_request.number}}
if [[ "$pr" != "" ]]; then
echo "Excluding arm-08..14, risc-v-04..06, sim-02, xtensa-02"
boards=$(
echo "Excluding arm-0[248], arm-1[02-9], risc-v-04..06, sim-02, xtensa-02"
boards=$(
echo '${{ inputs.boards }}' |
jq --compact-output \
'map(
select(
test("arm-0[8-9]") == false and test("arm-1.") == false and
test("arm-0[248]") == false and test("arm-1[02-9]") == false and
test("risc-v-0[4-9]") == false and
test("sim-0[2-9]") == false and
test("xtensa-0[2-9]") == false
Expand Down

0 comments on commit ec458f0

Please sign in to comment.