ci: use set -x for verbosity
set -v was too verbose, so change to -x and remove extra sourcing of zephyr-env.sh. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
45cbc81160
commit
d1bca4e056
1 changed files with 6 additions and 7 deletions
|
@ -17,16 +17,13 @@
|
|||
# The script can be run locally using for exmaple:
|
||||
# ./scripts/ci/run_ci.sh -b master -r upstream -p
|
||||
|
||||
set -v
|
||||
|
||||
source zephyr-env.sh
|
||||
set -x
|
||||
|
||||
SANITYCHECK_OPTIONS=" --inline-logs --enable-coverage -N"
|
||||
SANITYCHECK_OPTIONS_RETRY="${SANITYCHECK_OPTIONS} --only-failed --outdir=out-2nd-pass"
|
||||
SANITYCHECK_OPTIONS_RETRY_2="${SANITYCHECK_OPTIONS} --only-failed --outdir=out-3nd-pass"
|
||||
SANITYCHECK="${ZEPHYR_BASE}/scripts/sanitycheck"
|
||||
BSIM_OUT_PATH="/opt/bsim/"
|
||||
BSIM_COMPONENTS_PATH="${BSIM_OUT_PATH}/components/"
|
||||
export BSIM_OUT_PATH="/opt/bsim/"
|
||||
export BSIM_COMPONENTS_PATH="${BSIM_OUT_PATH}/components/"
|
||||
BSIM_BT_TEST_RESULTS_FILE="./bsim_bt_out/bsim_results.xml"
|
||||
|
||||
MATRIX_BUILDS=1
|
||||
|
@ -86,6 +83,8 @@ if [ -n "$MAIN_CI" ]; then
|
|||
COMMIT_RANGE=$REMOTE/${BRANCH}..HEAD
|
||||
echo "Commit range:" ${COMMIT_RANGE}
|
||||
fi
|
||||
source zephyr-env.sh
|
||||
SANITYCHECK="${ZEPHYR_BASE}/scripts/sanitycheck"
|
||||
if [ -n "$PULL_REQUEST" ]; then
|
||||
git rebase $REMOTE/${BRANCH};
|
||||
fi
|
||||
|
@ -135,6 +134,7 @@ function handle_compiler_cache() {
|
|||
}
|
||||
|
||||
function on_complete() {
|
||||
source zephyr-env.sh
|
||||
if [ "$1" == "failure" ]; then
|
||||
handle_compiler_cache
|
||||
fi
|
||||
|
@ -142,7 +142,6 @@ function on_complete() {
|
|||
rm -rf ccache $HOME/.cache/zephyr
|
||||
mkdir -p shippable/testresults
|
||||
mkdir -p shippable/codecoverage
|
||||
source zephyr-env.sh
|
||||
|
||||
if [ "$MATRIX" = "1" ]; then
|
||||
echo "Handle coverage data..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue