From bc8c432ec7407f4cfbad08862c2608e3b00c37f5 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 19 Jun 2019 09:26:18 -0400 Subject: [PATCH] ci: rename some travis fold log names and add more Summary: For an easier to grasp travis output we are using the travis_fold and endfold markers in our scripts. Renaming a few here to match the usage of meson and ninja instead of make. Also adding a few more that have been missing. While we are add it remove a now silly extra mingw conditional. Depends on D9119 Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9120 --- .ci/ci-configure.sh | 10 ++++++++-- .ci/ci-make-benchmark.sh | 2 +- .ci/ci-make-check.sh | 2 +- .ci/ci-make-distcheck.sh | 2 +- .ci/ci-make-install.sh | 2 +- .ci/ci-make.sh | 4 ++-- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh index 44dba53..079886b 100755 --- a/.ci/ci-configure.sh +++ b/.ci/ci-configure.sh @@ -58,15 +58,19 @@ if [ "$DISTRO" != "" ] ; then if [ "$1" = "mingw" ]; then OPTS="$OPTS $MINGW_COPTS" + travis_fold cross-native cross-native docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh' - fi - if [ "$1" = "mingw" ]; then + travis_endfold cross-native + travis_fold meson meson docker exec --env EIO_MONITOR_POLL=1 --env PKG_CONFIG_PATH="/ewpi-64-install/lib/pkgconfig/" \ $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS" + travis_endfold meson else + travis_fold meson meson docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ --env LD="ld.gold" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS" + travis_endfold meson fi else # Prepare OSX env for build @@ -79,5 +83,7 @@ else export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS" LIBFFI_VER=$(brew list --versions libffi|head -n1|cut -d' ' -f2) export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig" + travis_fold meson meson mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dbindings=luajit -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer,gstreamer1,libvlc,xine + travis_endfold meson fi diff --git a/.ci/ci-make-benchmark.sh b/.ci/ci-make-benchmark.sh index e043e9c..d1689a2 100755 --- a/.ci/ci-make-benchmark.sh +++ b/.ci/ci-make-benchmark.sh @@ -5,7 +5,7 @@ set -e if [ "$1" = "release-ready" ] ; then exit 0 fi -travis_fold benchmark "make benchmark" +travis_fold benchmark "ninja benchmark" echo "Nothing to do here, the benchmarks don't seem to terminate" #else #if [ "$DISTRO" != "" ] ; then diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh index bea7ca7..d331993 100755 --- a/.ci/ci-make-check.sh +++ b/.ci/ci-make-check.sh @@ -16,7 +16,7 @@ fi NUM_TRIES=5 -travis_fold check "make check-TESTS" +travis_fold check "ninja test" if [ "$DISTRO" != "" ] ; then # disable them for this distros, after meson 0.49 is out, this can be removed # https://github.com/mesonbuild/meson/commit/253c581412d7f2b09af353dd83d943454bd555be diff --git a/.ci/ci-make-distcheck.sh b/.ci/ci-make-distcheck.sh index 54e420e..637450b 100755 --- a/.ci/ci-make-distcheck.sh +++ b/.ci/ci-make-distcheck.sh @@ -5,7 +5,7 @@ set -e if [ "$1" != "release-ready" ] ; then exit 0 fi -travis_fold distcheck "make distcheck" +travis_fold distcheck "ninja dist" if [ "$DISTRO" != "" ] ; then docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ --env CXX="ccache g++" \ diff --git a/.ci/ci-make-install.sh b/.ci/ci-make-install.sh index 9b79d88..0984b06 100755 --- a/.ci/ci-make-install.sh +++ b/.ci/ci-make-install.sh @@ -5,7 +5,7 @@ set -e if [ "$1" = "release-ready" ] ; then exit 0 fi -travis_fold install "make install" +travis_fold install "ninja install" if [ "$DISTRO" != "" ] ; then docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install else diff --git a/.ci/ci-make.sh b/.ci/ci-make.sh index 0735bf1..0e955bc 100755 --- a/.ci/ci-make.sh +++ b/.ci/ci-make.sh @@ -5,11 +5,11 @@ set -e if [ "$1" = "release-ready" ] ; then exit 0 fi -travis_fold make make +travis_fold ninja ninja if [ "$DISTRO" != "" ] ; then docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build else export PATH="$(brew --prefix gettext)/bin:$PATH" ninja -C build fi -travis_endfold make +travis_endfold ninja -- 2.7.4