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()
131
131
./build_boards_manager_package.sh
132
132
}
133
133
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
+ }
134
144
135
145
function install_platformio()
136
146
{
@@ -217,7 +227,9 @@ elif [ "$BUILD_TYPE" = "docs" ]; then
217
227
cd $TRAVIS_BUILD_DIR /doc
218
228
build_docs
219
229
elif [ " $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
221
233
cd $TRAVIS_BUILD_DIR /package
222
234
build_package
223
235
elif [ " $BUILD_TYPE " = " host_tests" ]; then
You can’t perform that action at this time.
0 commit comments