[BUG] When building nuttx-apps
, CI Workflow checks out the Incorrect Branch of nuttx
repo
#14513
Open
1 task done
Description / Steps to reproduce the issue
When compiling the Release Branch of
nuttx-apps
, our CI Workflownuttx-apps/build.yml
checks out the Master Branch ofnuttx
repo, which is incorrect: {Bp-2655} examples: fix noteprint compile error nuttx-apps#2770 (comment)This comes from the arm-05 log: https://github.com/apache/nuttx-apps/actions/runs/11518661640/job/32069572079#step:7:96
This happens because
mps3-an547:bl
doesn't exist in thereleases/12.7
branch. (It exists inmaster
)Fetch-Source Log shows that CI is indeed checking out the Master Branch of
nuttx
repo (instead ofreleases/12.7
): https://github.com/apache/nuttx-apps/actions/runs/11518661640/job/32069568370#step:3:66Which might be caused by a typo in
nuttx-apps/build.yml
: https://github.com/apache/nuttx-apps/blob/master/.github/workflows/build.yml#L92The workflow above says we are checking out Branch
os_ref
. Butos_ref
is undefined! It's actually namedname
: https://github.com/apache/nuttx-apps/blob/master/.github/workflows/build.yml#L85I propose to change
name
toos_ref
:Tracking back to the original code: It seems plausible that there's a typo: https://github.com/apache/nuttx/pull/9289/files
Suspiciously became:
Note the
apps_ref
vsapp_ref
. I patched it toapps_ref
(which needs to be backported toreleases/12.7
ofnuttx-apps
)In our Test Repo for
nuttx-apps
: Changingname
toos_ref
seems to work OK: https://github.com/lupyuen5/label-nuttx-apps/actions/runs/11528123257/job/32094821811#step:3:57Hi @simbit18: Do you agree with my findings? Do you think it will cause issues in the NuttX Repo when we change
name
toos_ref
? Thanks!On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
CI Workflow
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Other]
Verification
The text was updated successfully, but these errors were encountered: