diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0773ca8f50acb..0c8df13a54f18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,7 +183,8 @@ jobs: git config --global --add safe.directory /github/workspace/sources/apps # Validate the defconfig files - pushd sources/nuttx + cp -r sources/nuttx sources/nuttx-validate + pushd sources/nuttx-validate 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` @@ -201,8 +202,8 @@ jobs: done fi done - make distclean || true popd + rm -rf sources/nuttx-validate # Quit if the defconfig validation failed if [[ "$fail" == "1" ]]; then