summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-06-19 09:25:56 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-19 09:25:56 -0400
commita873ae6ea0134437bcafa76289f4aa74bd13d1cd (patch)
tree21e07f60a4b558718d90079851aad636fc68dedc /.ci
parent90f5d5e1f16513378fe5a39ef49ac793fb3fb254 (diff)
downloadefl-a873ae6ea0134437bcafa76289f4aa74bd13d1cd.tar.gz
ci: remove no longer used scripts and patch file
Summary: With the autotools build system gone we now longer need these files in our CI system. Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9116
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/configure.sh11
-rwxr-xr-x.ci/distcheck.sh125
-rw-r--r--.ci/efl.m4.diff24
3 files changed, 0 insertions, 160 deletions
diff --git a/.ci/configure.sh b/.ci/configure.sh
deleted file mode 100755
index bdc2d85274..0000000000
--- a/.ci/configure.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash +e
-
-set -o pipefail
-export TEST_VAR=1
-if ! ./configure $@ 2>&1 | tee -a configlog ; then
- if grep -q 'configure: error: changes in the environment can compromise the build' configlog ; then
- echo "clearing config.cache and retrying..."
- rm -f configlog config.cache
- ./configure $@
- fi
-fi
diff --git a/.ci/distcheck.sh b/.ci/distcheck.sh
deleted file mode 100755
index 8c8e7cdf97..0000000000
--- a/.ci/distcheck.sh
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/bash
-
-. .ci/travis.sh
-
-scrape_makefile_variable() {
- #try to scrape $1 from Makefile
- num=0
- var=
- while true ; do
- var="$(grep -A${num} -m1 -w $1 Makefile.am)"
- #continually increment number of lines scraped if backslash is detected
- if echo "$var" | tail -n1 | grep -q '\\' ; then
- num=$((++num))
- else
- #cut out line wrapping
- var=$(echo "$var" | tr -d '\n\\' | cut -d= -f2-)
- break
- fi
- done
- echo $var
-}
-
-#attempt to keep this as close to original makefile rule as possible
-#for ease of future updating
-
-set -e
-
-travis_fold dist "make dist"
-#create dist tarball
-make dist
-travis_endfold dist
-
-#set distdir variable to current package string
-distdir="$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)"
-DIST_ARCHIVES=${distdir}.tar.xz
-MAKE=make
-
-#unpack dist tarball
-xz -dc ${distdir}.tar.xz | tar -xf -
-
-chmod -R a-w ${distdir}
-chmod u+w ${distdir}
-mkdir ${distdir}/_build ${distdir}/_build/sub ${distdir}/_inst
-chmod a-w ${distdir}
-test -d ${distdir}/_build
-
-dc_install_base=`cd ${distdir}/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'`
-dc_destdir="${TMPDIR-/tmp}/am-dc-XXXX"
-am__cwd=`pwd`
-
-AM_DISTCHECK_CONFIGURE_FLAGS="$(scrape_makefile_variable AM_DISTCHECK_CONFIGURE_FLAGS)"
-AM_MAKEFLAGS="$(scrape_makefile_variable AM_MAKEFLAGS)"
-
-travis_fold configure "configuring distcheck build"
-cd ${distdir}/_build/sub
-../../configure \
- ${AM_DISTCHECK_CONFIGURE_FLAGS} \
- ${DISTCHECK_CONFIGURE_FLAGS} \
- --srcdir=../.. --prefix="$dc_install_base"
-travis_endfold configure
-travis_fold make make
-make ${AM_MAKEFLAGS}
-travis_endfold make
-travis_fold dvi dvi
-make ${AM_MAKEFLAGS} dvi
-travis_endfold dvi
-travis_fold check-build check-build
-make ${AM_MAKEFLAGS} check-build
-travis_endfold check-build
-travis_fold check-TESTS check-TESTS
-set +e
-export EINA_LOG_BACKTRACE="0"
-NUM_TRIES=5
-for tries in $(seq 1 ${NUM_TRIES}); do
- make ${AM_MAKEFLAGS} -C src/ -j1 check-TESTS && break
- cat src/test-suite.log
- if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; continue ; fi
- exit 1
-done
-travis_endfold check-TESTS
-set -e
-travis_fold make_install "make install"
-make ${AM_MAKEFLAGS} install
-travis_endfold make_install
-travis_fold make_installcheck "make installcheck"
-make ${AM_MAKEFLAGS} installcheck
-travis_endfold make_installcheck
-travis_fold make_testapp "testing external compile"
-PKG_CONFIG_PATH=${dc_install_base}/lib/pkgconfig ${am__cwd}/.ci/build-efl-app.sh
-travis_endfold make_testapp
-travis_fold make_uninstall "make uninstall"
-make ${AM_MAKEFLAGS} uninstall
-travis_endfold make_uninstall
-travis_fold distuninstallcheck "make distuninstallcheck"
-make ${AM_MAKEFLAGS} distuninstallcheck_dir="$dc_install_base" \
- distuninstallcheck
-travis_endfold distuninstallcheck
-chmod -R a-w "$dc_install_base"
- (cd ../.. && umask 077 && mktemp -d "$dc_destdir")
- travis_fold dist-install "make dist-install"
- make ${AM_MAKEFLAGS} DESTDIR="$dc_destdir" install
- travis_endfold dist-install
- travis_fold dist-uninstall "make dist-uninstall"
- make ${AM_MAKEFLAGS} DESTDIR="$dc_destdir" uninstall
- travis_endfold dist-uninstall
- travis_fold dist-distuninstallcheck "make dist-distuninstallcheck"
- make ${AM_MAKEFLAGS} DESTDIR="$dc_destdir" \
- distuninstallcheck_dir="$dc_destdir" distuninstallcheck \
- || { rm -rf "$dc_destdir"; exit 1; }
- travis_endfold dist-distuninstallcheck
-rm -rf "$dc_destdir"
-travis_fold dist-dist "make dist-dist"
-make ${AM_MAKEFLAGS} dist
-travis_endfold dist-dist
-rm -rf ${DIST_ARCHIVES}
-travis_fold dist-distcleancheck "make dist-distcleancheck"
-make ${AM_MAKEFLAGS} distcleancheck
-travis_endfold dist-distcleancheck
-cd "$am__cwd"
-#$(am__post_remove_distdir)
-if test -d "${distdir}"; then
- find "${distdir}" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -rf "${distdir}" \
- || { rm -rf "${distdir}"; }; \
-else :; fi
diff --git a/.ci/efl.m4.diff b/.ci/efl.m4.diff
deleted file mode 100644
index fda939a8ed..0000000000
--- a/.ci/efl.m4.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/m4/efl.m4 b/m4/efl.m4
-index d051155e56..4b91c60963 100644
---- a/m4/efl.m4
-+++ b/m4/efl.m4
-@@ -22,14 +22,14 @@ dnl dev_version = development version (svn revision).
- dnl def_build_profile = dev or release based on 'dev' release parameter.
- AC_DEFUN([EFL_VERSION],
- [dnl
--m4_define([v_maj], [$1])dnl
--m4_define([v_min], [$2])dnl
--m4_define([v_mic], [$3])dnl
--m4_define([dev_version], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl
-+m4_define([v_maj], [1])dnl
-+m4_define([v_min], [99])dnl
-+m4_define([v_mic], [99])dnl
-+m4_define([dev_version], [0])
- m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl
- m4_define([v_rel], [])dnl
- m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl
--m4_define([efl_version], m4_if($4, dev, [v_maj.v_min.v_mic.v_rev], [v_maj.v_min.v_mic]))dnl
-+m4_define([efl_version], [v_maj.v_min.v_mic])dnl
- dnl m4_define([efl_version], [v_maj.v_min.v_mic])dnl
- ])
-