From 26fa4ea355623fa0b3fc3ee6e09d4856a09b33ff Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 11 Dec 2019 15:51:19 +0100 Subject: 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 Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D11913 --- .ci/ci-make.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.ci/ci-make.sh') 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" -- cgit v1.2.1