forked from enlightenment/efl
ci: use manual autoreconf && configure calls
our autogen.sh stupidly destroys all the autotools cache files, so ensure that we keep them around to speed up configure Differential Revision: https://phab.enlightenment.org/D6615
This commit is contained in:
parent
6652373897
commit
d568c6f125
|
@ -4,9 +4,6 @@ set -e
|
||||||
|
|
||||||
CI_BUILD_TYPE="$1"
|
CI_BUILD_TYPE="$1"
|
||||||
|
|
||||||
export MAKEFLAGS="-j5"
|
|
||||||
export EIO_MONITOR_POLL=1
|
|
||||||
|
|
||||||
DEFAULT_LINUX_COPTS="--prefix=/usr/ --with-tests=regular --disable-cxx-bindings -C"
|
DEFAULT_LINUX_COPTS="--prefix=/usr/ --with-tests=regular --disable-cxx-bindings -C"
|
||||||
|
|
||||||
WAYLAND_LINUX_COPTS=" --enable-wayland --enable-elput --enable-drm \
|
WAYLAND_LINUX_COPTS=" --enable-wayland --enable-elput --enable-drm \
|
||||||
|
@ -52,7 +49,7 @@ if [ "$DISTRO" != "" ] ; then
|
||||||
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
|
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
|
||||||
docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
||||||
--env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
|
--env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
|
||||||
$(cat $HOME/cid) ./autogen.sh $OPTS
|
$(cat $HOME/cid) sh -c "autoreconf -iv && ./configure $OPTS"
|
||||||
else
|
else
|
||||||
OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C"
|
OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C"
|
||||||
|
|
||||||
|
@ -68,5 +65,6 @@ else
|
||||||
|
|
||||||
# Normal build test of all targets
|
# Normal build test of all targets
|
||||||
rm -f ~/.ccache/ccache.conf
|
rm -f ~/.ccache/ccache.conf
|
||||||
./autogen.sh $OSX_COPTS
|
autoreconf -iv
|
||||||
|
./configure $OSX_COPTS
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue