File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,16 @@ function build_package()
131131 ./build_boards_manager_package.sh
132132}
133133
134+ function build_boards()
135+ {
136+ echo -e " travis_fold:start:build_boards"
137+ tools/boards.txt.py --boardsgen --ldgen --packagegen --docgen
138+ git diff --exit-code -- boards.txt \
139+ package/package_esp8266com_index.template.json \
140+ doc/boards.rst \
141+ tools/sdk/ld/
142+ echo -e " travis_fold:end:build_boards"
143+ }
134144
135145function install_platformio()
136146{
@@ -217,7 +227,9 @@ elif [ "$BUILD_TYPE" = "docs" ]; then
217227 cd $TRAVIS_BUILD_DIR /doc
218228 build_docs
219229elif [ " $BUILD_TYPE " = " package" ]; then
220- # Build release package
230+ # Check that boards.txt, ld scripts, package JSON template, and boards.rst are up to date
231+ build_boards
232+ # Build release package
221233 cd $TRAVIS_BUILD_DIR /package
222234 build_package
223235elif [ " $BUILD_TYPE " = " host_tests" ]; then
You can’t perform that action at this time.
0 commit comments