From cd83dc1317a9598949122152cd9fd3314c4214e6 Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Wed, 8 Jan 2025 11:13:45 +0800 Subject: [PATCH] CI: Increase CI Jobs to 100% for Complex PRs This PR increases the CI Jobs for Complex PRs from 50% to 100%, as explained here: - https://github.com/apache/nuttx/issues/15451#issuecomment-2576576664 --- .github/workflows/arch.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index 05dd915d56..278d5f666d 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -173,21 +173,14 @@ jobs: # If Not a Simple PR: Build all targets if [[ "$quit" == "1" ]]; then - # If PR was Created or Modified: Exclude some boards + # If PR was Created or Modified: Include all boards pr=${{github.event.pull_request.number}} if [[ "$pr" != "" ]]; then - echo "Excluding arm-0[1249], arm-1[124-9], risc-v-04..06, sim-03, xtensa-02" + echo "Include all boards" boards=$( echo '${{ inputs.boards }}' | jq --compact-output \ - 'map( - select( - test("arm-0[1249]") == false and test("arm-1[124-9]") == false and - test("risc-v-0[4-9]") == false and - test("sim-0[3-9]") == false and - test("xtensa-0[2-9]") == false - ) - )' + '.' ) fi echo "selected_builds=$boards" | tee -a $GITHUB_OUTPUT