Skip to content

Commit

Permalink
CI: Increase CI Jobs to 100% for Complex PRs
Browse files Browse the repository at this point in the history
This PR increases the CI Jobs for Complex PRs from 50% to 100%, as explained here:
- #15451 (comment)
  • Loading branch information
lupyuen authored and xiaoxiang781216 committed Jan 8, 2025
1 parent 1bcaacd commit cd83dc1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd83dc1

Please sign in to comment.