Generate the build matrix from the variant files (#3870)

This commit is contained in:
Thomas Göttgens
2024-05-12 22:43:47 +02:00
committed by GitHub
co-authored by GitHub
parent 5de0c71a3e
commit 859fd7c251
32 changed files with 71 additions and 104 deletions
+6 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
"""Generate the CI matrix"""
"""Generate the CI matrix."""
import configparser
import json
@@ -34,5 +34,10 @@ for subdir, dirs, files in os.walk(rootdir):
outlist.append(section)
else:
outlist.append(section)
if "board_check" in config[config[c].name]:
if (config[config[c].name]["board_check"] == "true") & (
"check" in options
):
outlist.append(section)
print(json.dumps(outlist))