diff --git a/.shippable.yml b/.shippable.yml index aa08c99934d..a062540fe3e 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -35,9 +35,9 @@ build: - export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/ccache/.ccache - > if [ "$IS_PULL_REQUEST" = "true" ]; then - ./scripts/ci/run_ci.sh -b master -r origin -m ${MATRIX_BUILD} -M ${MATRIX_BUILDS} -p; + ./scripts/ci/run_ci.sh -b master -r origin -m ${MATRIX_BUILD} -M ${MATRIX_BUILDS} -B ${BSIM_BT_TEST_RESULTS_FILE} -p; else - ./scripts/ci/run_ci.sh -b master -r origin -m ${MATRIX_BUILD} -M ${MATRIX_BUILDS}; + ./scripts/ci/run_ci.sh -b master -r origin -m ${MATRIX_BUILD} -M ${MATRIX_BUILDS} -B ${BSIM_BT_TEST_RESULTS_FILE}; fi; - ccache -s on_failure: diff --git a/scripts/ci/run_ci.sh b/scripts/ci/run_ci.sh index fb8ffc3aa81..979f463b3c4 100755 --- a/scripts/ci/run_ci.sh +++ b/scripts/ci/run_ci.sh @@ -25,7 +25,7 @@ SANITYCHECK="${ZEPHYR_BASE}/scripts/sanitycheck" MATRIX_BUILDS=1 MATRIX=1 -while getopts ":pm:b:r:M:" opt; do +while getopts ":pm:b:B:r:M:" opt; do case $opt in p) echo "Testing a Pull Request." >&2 @@ -43,6 +43,10 @@ while getopts ":pm:b:r:M:" opt; do echo "Base Branch: $OPTARG" >&2 BRANCH=$OPTARG ;; + B) + echo "bsim BT tests xml results file: $OPTARG" >&2 + BSIM_BT_TEST_RESULTS_FILE=$OPTARG + ;; r) echo "Remote: $OPTARG" >&2 REMOTE=$OPTARG