Skip to content

Commit f00e7cb

Browse files
committed
fix ci build script
1 parent efda9cb commit f00e7cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/githubci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
arduino-platform: ['feather52832', 'feather52840', 'feather52840sense', 'cplaynrf52840', 'itsybitsy52840', 'cluenrf52840' ]
10+
arduino-platform: ['cluenrf52840', 'cplaynrf52840', 'feather52832', 'feather52840', 'feather52840sense', 'itsybitsy52840']
1111

1212
runs-on: ubuntu-latest
1313

tools/build_all.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
build_format = '| {:20} | {:35} | {:9} '
1414
build_separator = '-' * 83
1515

16-
default_boards = [ 'feather52832', 'feather52840', 'cplaynrf52840', 'itsybitsy52840', 'cluenrf52840' ]
16+
default_boards = [ 'cluenrf52840', 'cplaynrf52840', 'feather52832', 'feather52840', 'feather52840sense', 'itsybitsy52840' ]
1717

1818
build_boards = []
1919

@@ -44,15 +44,15 @@ def build_examples(variant):
4444

4545
fqbn = "adafruit:nrf52:{}:softdevice={},debug=l0".format(variant, 's140v6' if variant != 'feather52832' else 's132v6')
4646

47-
for sketch in glob.iglob('libraries/**/*.ino', recursive=True):
47+
for sketch in glob.iglob('libraries/**/bluefruit_playground.ino', recursive=True):
4848
start_time = time.monotonic()
4949

5050
# Skip if contains: ".board.test.skip" or ".all.test.skip"
5151
# Skip if not contains: ".board.test.only" for a specific board
5252
sketchdir = os.path.dirname(sketch)
5353
if os.path.exists(sketchdir + '/.all.test.skip') or os.path.exists(sketchdir + '/.' + variant + '.test.skip'):
5454
success = "\033[33mskipped\033[0m "
55-
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.build.' + variant + '.test.only'):
55+
elif glob.glob(sketchdir+"/.*.test.only") and not os.path.exists(sketchdir + '/.' + variant + '.test.only'):
5656
success = "\033[33mskipped\033[0m "
5757
else:
5858
# TODO - preferably, would have STDERR show up in **both** STDOUT and STDERR.

0 commit comments

Comments
 (0)