From f00e7cb26977ca0aac0fa73568b9ea5b3c5d28e5 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 11 Mar 2020 23:40:28 +0700 Subject: [PATCH] fix ci build script --- .github/workflows/githubci.yml | 2 +- tools/build_all.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 497a5e81..9b1980a4 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - arduino-platform: ['feather52832', 'feather52840', 'feather52840sense', 'cplaynrf52840', 'itsybitsy52840', 'cluenrf52840' ] + arduino-platform: ['cluenrf52840', 'cplaynrf52840', 'feather52832', 'feather52840', 'feather52840sense', 'itsybitsy52840'] runs-on: ubuntu-latest diff --git a/tools/build_all.py b/tools/build_all.py index 390cb807..637269c1 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -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.