You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/02/10 13:23:23 UTC
[incubator-nuttx-testing] branch master updated: cibuild.sh:
decouple -b option to do run_builds only
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git
The following commit(s) were added to refs/heads/master by this push:
new a371d88 cibuild.sh: decouple -b option to do run_builds only
a371d88 is described below
commit a371d88b940544b72495fba7ea5fcd3a8461952a
Author: liuhaitao <li...@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 <li...@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