From 4980f19c6edbd253707f1525061cc07dc1b3a656 Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Sun, 20 Oct 2024 21:40:20 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index 1f72084de9..3c2dfcc605 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" - 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