docs: Allow them to build faster by skipping the shared bindings matrix
I've identified that this is a bottleneck when I am refining documentation; by returning a bare minimum of data to allow the doc build to complete, I can do more builds in less time. To use, `env NO_BINDINGS_MATRIX= make html`
This commit is contained in:
parent
f5bf485426
commit
b71daced33
1 changed files with 5 additions and 0 deletions
|
|
@ -173,6 +173,11 @@ def get_settings_from_makefile(port_dir, board_name):
|
|||
|
||||
This list must explicitly include any setting queried by tools/ci_set_matrix.py.
|
||||
"""
|
||||
if os.getenv('NO_BINDINGS_MATRIX'):
|
||||
return {
|
||||
'CIRCUITPY_BUILD_EXTENSIONS': '.bin'
|
||||
}
|
||||
|
||||
contents = subprocess.run(
|
||||
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS", "print-SRC_SUPERVISOR"],
|
||||
encoding="utf-8",
|
||||
|
|
|
|||
Loading…
Reference in a new issue