1
0
Fork 0

Exclude more keyboards from CI (#11436)

* exclude all of handwired

* exclude more keyboards from CI
This commit is contained in:
Zach White 2021-01-13 08:12:28 -08:00 committed by GitHub
parent 09835033da
commit 6368a5697d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
163 changed files with 11 additions and 1 deletions

View file

@ -4,5 +4,15 @@
# This allows us to exclude keyboards by including a .noci file.
find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do
[ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard"
if [ "$1" = "noci" ]; then
case "$keyboard" in
handwired/*)
;;
*)
test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
;;
esac
else
echo "$keyboard"
fi
done