Skip to content

Commit

Permalink
Not ready to merge yet
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Oct 15, 2024
1 parent c8dd8d5 commit e36038a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,12 @@ jobs:
git config --global --add safe.directory /github/workspace/sources/nuttx
git config --global --add safe.directory /github/workspace/sources/apps
# Validate the defconfig files, in a clean temp unversioned folder
cp -r sources/nuttx sources/nuttx-validate
rm -rf sources/nuttx-validate/.git
pushd sources/nuttx-validate
# Validate the defconfig files in a temp folder, preserving the links
tar cf sources.tar sources/nuttx sources/apps
mkdir validate
pushd validate
tar xf ../sources.tar
pushd sources/nuttx
testfile=tools/ci/testlist/${{matrix.boards}}.dat
echo Validating targets in $testfile
testlist=`grep -v -E "^(-|#)|^[C|c][M|m][A|a][K|k][E|e]" $testfile || true`
Expand All @@ -203,8 +205,8 @@ jobs:
done
fi
done
popd
rm -rf sources/nuttx-validate
popd ; popd
rm -rf sources.tar validate
# Quit if the defconfig validation failed
if [[ "$fail" == "1" ]]; then
Expand Down

0 comments on commit e36038a

Please sign in to comment.