You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2026/04/27 14:43:56 UTC

(mynewt-core) branch master updated: ci: Fix BSPs selection

This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 820424abd ci: Fix BSPs selection
820424abd is described below

commit 820424abda5116aa3957ddfc4d19697e844840bc
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Apr 27 15:43:58 2026 +0200

    ci: Fix BSPs selection
    
    hw/bsp now contains also package files so we must filter those for
    CI run.
---
 .github/test_build_blinky.sh     | 2 +-
 .github/test_build_bootloader.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/test_build_blinky.sh b/.github/test_build_blinky.sh
index f0fea3a46..34ab9e23f 100755
--- a/.github/test_build_blinky.sh
+++ b/.github/test_build_blinky.sh
@@ -19,7 +19,7 @@
 
 EXIT_CODE=0
 
-BSPS=$(ls repos/apache-mynewt-core/hw/bsp)
+BSPS=$(basename -a `find repos/apache-mynewt-core/hw/bsp/* -maxdepth 0 -type d`)
 IGNORED_BSPS="ci40 dialog_cmac embarc_emsk hifive1 native-armv7 native-mips\
               olimex-pic32-emz64 olimex-pic32-hmz144 pic32mx470_6lp_clicker\
               pic32mz2048_wi-fire"
diff --git a/.github/test_build_bootloader.sh b/.github/test_build_bootloader.sh
index 96caa9f85..ce255903f 100755
--- a/.github/test_build_bootloader.sh
+++ b/.github/test_build_bootloader.sh
@@ -19,7 +19,7 @@
 
 EXIT_CODE=0
 
-BSPS=$(ls repos/apache-mynewt-core/hw/bsp)
+BSPS=$(basename -a `find repos/apache-mynewt-core/hw/bsp/* -maxdepth 0 -type d`)
 IGNORED_BSPS="ci40 dialog_cmac embarc_emsk hifive1 native native-armv7\
               native-mips nucleo-f030r8 nucleo-f072rb\
               nucleo-f303k8\