diff options
| author | Dimitris Mantzouranis <d3xter93@gmail.com> | 2022-01-05 11:06:03 +0200 |
|---|---|---|
| committer | Dimitris Mantzouranis <d3xter93@gmail.com> | 2022-01-05 13:52:19 +0200 |
| commit | 2997ff7ccccdebfad6b37e1442d409daac7cc927 (patch) | |
| tree | 33fba5253aff17e0326483cff4e5397545dc8e32 /lib/python | |
| parent | 9e129005cbc18b57165efeadb92a77d464b0583f (diff) | |
ci: build sn32_master
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/build_all.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/build_all.py b/lib/python/build_all.py new file mode 100755 index 000000000..12963e8c9 --- /dev/null +++ b/lib/python/build_all.py @@ -0,0 +1,13 @@ +import subprocess +import os +import sys + +BOARDS = [ + 'keychron/k2/rgb'] + +error = False +for kb in BOARDS: + if subprocess.run(f"qmk compile -kb {kb} -km all -j{os.cpu_count()}", shell=True).returncode != 0: + error = True +if error: + sys.exit(1) |
