update github CI to verify UID is unique

This commit is contained in:
Ilya Zhuravlev
2021-01-12 11:51:33 -05:00
parent 1fb12b497f
commit 82591a385b
3 changed files with 58 additions and 2 deletions

View File

@ -0,0 +1,17 @@
#!/usr/bin/env python3
from glob import glob
import subprocess
def main():
for filename in glob("keyboards/**/vial.json", recursive=True):
filename = filename[10:-10]
cmd = filename.split("/keymaps/")[0]
# compile default
subprocess.call(["make", cmd + ":default", "-j4"])
# compile via
subprocess.call(["make", cmd + ":via", "-j4"])
if __name__ == "__main__":
main()