fix ci build script

This commit is contained in:
hathach committed 2020-03-11 23:40:28 +07:00
1 parent efda9cbf25
commit f00e7cb269
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -13,7 +13,7 @@ skip_count = 0
build_format = '| {:20} | {:35} | {:9} '
build_separator = '-' * 83
default_boards = [ 'feather52832', 'feather52840', 'cplaynrf52840', 'itsybitsy52840', 'cluenrf52840' ]
default_boards = [ 'cluenrf52840', 'cplaynrf52840', 'feather52832', 'feather52840', 'feather52840sense', 'itsybitsy52840' ]
build_boards = []
@@ -44,7 +44,7 @@ def build_examples(variant):
fqbn = "adafruit:nrf52:{}:softdevice={},debug=l0".format(variant, 's140v6' if variant != 'feather52832' else 's132v6')
for sketch in glob.iglob('libraries/**/*.ino', recursive=True):
for sketch in glob.iglob('libraries/**/bluefruit_playground.ino', recursive=True):
start_time = time.monotonic()
# Skip if contains: ".board.test.skip" or ".all.test.skip"
@@ -52,7 +52,7 @@ def build_examples(variant):
sketchdir = os.path.dirname(sketch)
if os.path.exists(sketchdir + '/.all.test.skip') or os.path.exists(sketchdir + '/.' + variant + '.test.skip'):
success = "\033[33mskipped\033[0m "
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.build.' + variant + '.test.only'):
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.' + variant + '.test.only'):
success = "\033[33mskipped\033[0m "
else:
# TODO - preferably, would have STDERR show up in **both** STDOUT and STDERR.