summaryrefslogtreecommitdiff
path: root/.ci/ci-make.sh
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-12-11 15:51:19 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-06-03 15:21:38 +0200
commit26fa4ea355623fa0b3fc3ee6e09d4856a09b33ff (patch)
tree795afa5cd32d43e2fae816bce41a0fddae8c3643 /.ci/ci-make.sh
parent5c5f0692fce02a02be611f892eb0471c8ce8a0e8 (diff)
downloadefl-26fa4ea355623fa0b3fc3ee6e09d4856a09b33ff.tar.gz
ci: log time in every fold start and end
Annotating the build log with timings will help us to understand better where the time is spend during the builds and see areas to optimize. Switching over to the "native" bash functions in Travis, so switching all scripts to bash. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11913
Diffstat (limited to '.ci/ci-make.sh')
-rwxr-xr-x.ci/ci-make.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/.ci/ci-make.sh b/.ci/ci-make.sh
index 210929db2a..5d4508c159 100755
--- a/.ci/ci-make.sh
+++ b/.ci/ci-make.sh
@@ -1,13 +1,13 @@
-#!/bin/sh
+#!/bin/bash
set -e
-. .ci/travis.sh
if [ "$1" = "release-ready" ] ; then
exit 0
fi
-travis_fold ninja ninja
+travis_fold start "ninja"
+travis_time_start "ninja"
if [ "$DISTRO" != "" ] ; then
if [ "$1" = "coverity" ] ; then
docker exec --env EIO_MONITOR_POLL=1 --env PATH="/src/cov-analysis-linux64-2019.03/bin:$PATH" $(cat $HOME/cid) sh -c "cov-build --dir cov-int ninja -C build"
@@ -27,4 +27,5 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
else
ninja -C build
fi
-travis_endfold ninja
+travis_time_finish "ninja"
+travis_fold end "ninja"