Skip to content

Commit a371d88

Browse files
liuguo09xiaoxiang781216
authored andcommitted
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>
1 parent 742e0da commit a371d88

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cibuild.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ while [ ! -z "$1" ]; do
199199
-b )
200200
shift
201201
build="$1"
202+
run_builds
202203
break
203204
;;
204205
-s )
@@ -210,9 +211,3 @@ while [ ! -z "$1" ]; do
210211
esac
211212
shift
212213
done
213-
214-
if [ ! -z "$build" ]; then
215-
install_tools
216-
setup_repos
217-
run_builds
218-
fi

0 commit comments

Comments
 (0)