summaryrefslogtreecommitdiff
path: root/.ci/ci-make-install.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-install.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-install.sh')
-rwxr-xr-x.ci/ci-make-install.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/.ci/ci-make-install.sh b/.ci/ci-make-install.sh
index a3c5320149..882b80372c 100755
--- a/.ci/ci-make-install.sh
+++ b/.ci/ci-make-install.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" ] || [ "$1" = "coverity" ] ; then 5if [ "$1" = "release-ready" ] || [ "$1" = "coverity" ] ; then
7 exit 0 6 exit 0
8fi 7fi
9 8
10travis_fold install "ninja install" 9travis_fold start "ninja-install"
10travis_time_start "ninja-install"
11if [ "$DISTRO" != "" ] ; then 11if [ "$DISTRO" != "" ] ; then
12 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install 12 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install
13elif [ "$TRAVIS_OS_NAME" = "osx" ]; then 13elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
@@ -16,4 +16,5 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
16else 16else
17 sudo ninja -C build install 17 sudo ninja -C build install
18fi 18fi
19travis_endfold install 19travis_time_finish "ninja-install"
20travis_fold end "ninja-install"