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 2023/01/23 11:45:10 UTC

[mynewt-core] branch master updated: github: Improve test targets build

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

janc 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 0c456f216 github: Improve test targets build
0c456f216 is described below

commit 0c456f216c15c02946191b5f4a0296e76e2b0597
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Jan 23 00:18:55 2023 +0100

    github: Improve test targets build
    
    Don't fail on first error but try to build all targets.
    Also, make build less spammy, we care about errors only anyway.
---
 .github/workflows/build_targets.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_targets.yml b/.github/workflows/build_targets.yml
index d5e2bd23c..d05d930d7 100644
--- a/.github/workflows/build_targets.yml
+++ b/.github/workflows/build_targets.yml
@@ -42,4 +42,4 @@ jobs:
              newt upgrade --shallow=1
              ln -s .github/targets ci_targets
       - name: Build targets
-        run: newt build `ls ci_targets/`
+        run: ls ci_targets | xargs -n1 sh -c 'echo "Testing $0"; newt build -q $0'