File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -522,16 +522,15 @@ async def build_circuitpython():
522522 hal_source .extend (top .glob (f"shared-bindings/{ module .name } /*.c" ))
523523
524524 if os .environ .get ("CI" , "false" ) == "true" :
525- # Fail the build if it isn't up to date.
525+ # Warn if it isn't up to date.
526526 if (
527527 not autogen_board_info_fn .exists ()
528528 or autogen_board_info_fn .read_text () != tomlkit .dumps (autogen_board_info )
529529 ):
530- logger .error ("autogen_board_info.toml is out of date." )
531- raise RuntimeError (
530+ logger .warning (
532531 f"autogen_board_info.toml is missing or out of date. Please run `make BOARD={ board } ` locally and commit { autogen_board_info_fn } ."
533532 )
534- elif autogen_board_info_fn .parent .exists ():
533+ if autogen_board_info_fn .parent .exists ():
535534 autogen_board_info_fn .write_text (tomlkit .dumps (autogen_board_info ))
536535
537536 for mpflag in MPCONFIG_FLAGS :
You can’t perform that action at this time.
0 commit comments