summaryrefslogtreecommitdiff
path: root/.ci/ci-make-distcheck.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-distcheck.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-distcheck.sh')
-rwxr-xr-x.ci/ci-make-distcheck.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/.ci/ci-make-distcheck.sh b/.ci/ci-make-distcheck.sh
index 414c8abd1a..b9b090a17a 100755
--- a/.ci/ci-make-distcheck.sh
+++ b/.ci/ci-make-distcheck.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 distcheck "ninja dist" 9travis_fold start "ninja-dist"
10travis_time_start "ninja-dist"
11if [ "$DISTRO" != "" ] ; then 11if [ "$DISTRO" != "" ] ; then
12 docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 12 docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
13 --env CXX="ccache g++" \ 13 --env CXX="ccache g++" \
@@ -18,4 +18,5 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
18 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 18 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
19 ninja -C build dist 19 ninja -C build dist
20fi 20fi
21travis_endfold distcheck 21travis_time_finish "ninja-dist"
22travis_fold end "ninja-dist"