From 2997ff7ccccdebfad6b37e1442d409daac7cc927 Mon Sep 17 00:00:00 2001 From: Dimitris Mantzouranis Date: Wed, 5 Jan 2022 11:06:03 +0200 Subject: ci: build sn32_master --- lib/python/build_all.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 lib/python/build_all.py (limited to 'lib/python') 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) -- cgit v1.2.3