mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
ci: supply sim/login ROMFS passwd credential in build jobs
NuttX master now requires CONFIG_BOARD_ETC_ROMFS_PASSWD_PASSWORD for sim/login builds. The nuttx-apps workflow mirrors nuttx CI but never exported NUTTX_ROMFS_PASSWD_PASSWORD, so Linux sim-02 and macOS sim jobs failed inside the Docker build container. Set the documented test credential at the job and step level and export it explicitly before cibuild.sh runs. Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
This commit is contained in:
parent
27c466a429
commit
5c19a37c0e
1 changed files with 9 additions and 0 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -135,6 +135,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_BUILDKIT: 1
|
||||
# Documented sim/login CI test credential (not a production secret).
|
||||
# Used when CONFIG_BOARD_ETC_ROMFS_PASSWD_ENABLE=y and defconfig omits
|
||||
# the password. See nuttx tools/update_romfs_password.sh.
|
||||
NUTTX_ROMFS_PASSWD_PASSWORD: NuttXSimLogin1
|
||||
|
||||
strategy:
|
||||
max-parallel: 12
|
||||
|
|
@ -179,8 +183,10 @@ jobs:
|
|||
uses: ./sources/nuttx/.github/actions/ci-container
|
||||
env:
|
||||
BLOBDIR: /tools/blobs
|
||||
NUTTX_ROMFS_PASSWD_PASSWORD: NuttXSimLogin1
|
||||
with:
|
||||
run: |
|
||||
export NUTTX_ROMFS_PASSWD_PASSWORD=NuttXSimLogin1
|
||||
export ARTIFACTDIR=`pwd`/buildartifacts
|
||||
|
||||
for i in 1 2 3; do
|
||||
|
|
@ -295,6 +301,8 @@ jobs:
|
|||
runs-on: macos-15-intel
|
||||
needs: macOS-Arch
|
||||
if: ${{ needs.macOS-Arch.outputs.skip_all_builds != '1' }}
|
||||
env:
|
||||
NUTTX_ROMFS_PASSWD_PASSWORD: NuttXSimLogin1
|
||||
strategy:
|
||||
max-parallel: 2
|
||||
matrix:
|
||||
|
|
@ -329,6 +337,7 @@ jobs:
|
|||
- name: Run Builds
|
||||
run: |
|
||||
echo "::add-matcher::sources/nuttx/.github/gcc.json"
|
||||
export NUTTX_ROMFS_PASSWD_PASSWORD=NuttXSimLogin1
|
||||
export ARTIFACTDIR=`pwd`/buildartifacts
|
||||
cd sources/nuttx/tools/ci
|
||||
./cibuild.sh -i -c -A -R testlist/${{matrix.boards}}.dat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue