Skip to content

Commit

Permalink
CI: Enable sim-02 build when we create or update a Complex PR
Browse files Browse the repository at this point in the history
CI Build Job sim-02 was disabled to reduce our usage of GitHub Runners, to comply with ASF Policy: apache/nuttx#14376 (comment)

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.
  • Loading branch information
lupyuen committed Oct 24, 2024
1 parent f517b66 commit b6fb787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ jobs:
# If PR was Created or Modified: Exclude some boards
pr=${{github.event.pull_request.number}}
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=$(
echo '${{ inputs.boards }}' |
jq --compact-output \
'map(
select(
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("sim-0[3-9]") == false and
test("xtensa-0[2-9]") == false
)
)'
Expand Down

0 comments on commit b6fb787

Please sign in to comment.