1
0
Fork 0
forked from nuttx/nuttx-update

CI: Enable sim-02 build when we create or update a Complex PR

CI Build Job sim-02 was disabled to reduce our usage of GitHub Runners, to comply with ASF Policy: https://github.com/apache/nuttx/issues/14376#issuecomment-2427837859

However this causes the Scheduled Merge Job to fail, due to reduced CI Checks: https://github.com/NuttX/nuttx/actions/runs/11490041505/job/31980056690#step:7:465

This PR re-enables sim-02 when we create or update a Complex PR.
This commit is contained in:
Lup Yuen Lee 2024-10-24 08:56:20 +08:00 committed by Xiang Xiao
parent 9395669ac0
commit 25c87746db

View file

@ -169,7 +169,7 @@ jobs:
# If PR was Created or Modified: Exclude some boards # If PR was Created or Modified: Exclude some boards
pr=${{github.event.pull_request.number}} pr=${{github.event.pull_request.number}}
if [[ "$pr" != "" ]]; then if [[ "$pr" != "" ]]; then
echo "Excluding arm-0[248], arm-1[02-9], risc-v-04..06, sim-02, xtensa-02" echo "Excluding arm-0[248], arm-1[02-9], risc-v-04..06, sim-03, xtensa-02"
boards=$( boards=$(
echo '${{ inputs.boards }}' | echo '${{ inputs.boards }}' |
jq --compact-output \ jq --compact-output \
@ -177,7 +177,7 @@ jobs:
select( select(
test("arm-0[248]") == false and test("arm-1[02-9]") == false and test("arm-0[248]") == false and test("arm-1[02-9]") == false and
test("risc-v-0[4-9]") == false and test("risc-v-0[4-9]") == false and
test("sim-0[2-9]") == false and test("sim-0[3-9]") == false and
test("xtensa-0[2-9]") == false test("xtensa-0[2-9]") == false
) )
)' )'