From df5ff920aa3380f8f15fa1f0e06ab3b02a62dd8d Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Sun, 20 Oct 2024 21:40:17 +0800 Subject: [PATCH] CI: Build only Arm32 Targets arm-01 / 03 / 05 / 06 / 07 / 09 / 11 for 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: https://github.com/apache/nuttx/issues/14376 --- .github/workflows/arch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index 1f72084de9..35cffb3dfc 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -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" + 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