nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx-testing] 06/41: cibuild.sh: decouple -b option to do run_builds only
Date Fri, 01 May 2020 20:50:27 GMT
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git

commit a371d88b940544b72495fba7ea5fcd3a8461952a
Author: liuhaitao <liuhaitao@xiaomi.com>
AuthorDate: Mon Feb 10 10:38:14 2020 +0800

    cibuild.sh: decouple -b option to do run_builds only
    
    1. In nuttx and apps PR check build, github action/jenkins/travis CI would
    checkout repos accordingly. So decouple -b option to do run_builds only.
    2. And if do builds starting from testing repo, call cibuild.sh as below:
    ./cibuild.sh -i -s -b check or ./cibuild.sh -i -s -b full
    
    Change-Id: I5cd0b87aed37ddab117d17aa5b72744c2db2aac6
    Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
---
 cibuild.sh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cibuild.sh b/cibuild.sh
index 9a36c9f..9152305 100755
--- a/cibuild.sh
+++ b/cibuild.sh
@@ -199,6 +199,7 @@ while [ ! -z "$1" ]; do
   -b )
     shift
     build="$1"
+    run_builds
     break
     ;;
   -s )
@@ -210,9 +211,3 @@ while [ ! -z "$1" ]; do
   esac
   shift
 done
-
-if [ ! -z "$build" ]; then
-  install_tools
-  setup_repos
-  run_builds
-fi


Mime
View raw message