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)
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 @@
1#!/bin/sh 1#!/bin/bash
2 2
3set -e 3set -e
4. .ci/travis.sh
5 4
6if [ "$1" = "release-ready" ] ; then 5if [ "$1" = "release-ready" ] ; then
7 exit 0 6 exit 0
8fi 7fi
9 8
10travis_fold ninja ninja 9travis_fold start "ninja"
10travis_time_start "ninja"
11if [ "$DISTRO" != "" ] ; then 11if [ "$DISTRO" != "" ] ; then
12 if [ "$1" = "coverity" ] ; then 12 if [ "$1" = "coverity" ] ; then
13 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" 13 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
27else 27else
28 ninja -C build 28 ninja -C build
29fi 29fi
30travis_endfold ninja 30travis_time_finish "ninja"
31travis_fold end "ninja"