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 @@ -122,6 +122,16 @@ function build_package()
122
122
./build_boards_manager_package.sh
123
123
}
124
124
125
+ function build_boards()
126
+ {
127
+ echo -e " travis_fold:start:build_boards"
128
+ tools/boards.txt.py --boardsgen --ldgen --packagegen --docgen
129
+ git diff --exit-code -- boards.txt \
130
+ package/package_esp8266com_index.template.json \
131
+ doc/boards.rst \
132
+ tools/sdk/ld/
133
+ echo -e " travis_fold:end:build_boards"
134
+ }
125
135
126
136
function install_platformio()
127
137
{
@@ -208,7 +218,9 @@ elif [ "$BUILD_TYPE" = "docs" ]; then
208
218
cd $TRAVIS_BUILD_DIR /doc
209
219
build_docs
210
220
elif [ " $BUILD_TYPE " = " package" ]; then
211
- # Build release package
221
+ # Check that boards.txt, ld scripts, package JSON template, and boards.rst are up to date
222
+ build_boards
223
+ # Build release package
212
224
cd $TRAVIS_BUILD_DIR /package
213
225
build_package
214
226
elif [ " $BUILD_TYPE " = " host_tests" ]; then
You can’t perform that action at this time.
0 commit comments