- name: Linux Ubuntu, Worker MPM, all-modules
env: CONFIG="--enable-mods-shared=reallyall --with-mpm=worker"
# -------------------------------------------------------------------------
+ - name: Linux Ubuntu, Shared MPMs, all-modules
+ env: CONFIG="--enable-mods-shared=reallyall --enable-mpms-shared=all"
+ # -------------------------------------------------------------------------
- name: Linux Ubuntu Bionic, all-modules
os: linux
dist: bionic
- libnghttp2-dev
- libjansson-dev
# -------------------------------------------------------------------------
+ - if: branch = trunk
+ - name: Linux Ubuntu, APR trunk
+ env: APR_VERSION=trunk APR_CONFIG="--with-crypto"
+ CONFIG="--enable-mods-shared=reallyall"
+ # -------------------------------------------------------------------------
- name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1
env: APR_VERSION=1.7.0 APU_VERSION=1.6.1
CONFIG="--enable-mods-shared=reallyall"
svn export -q https://svn.apache.org/repos/asf/httpd/test/framework/trunk test/perl-framework
fi
if test -v APR_VERSION; then
+ # For APR trunk the cached version at ~/root/apr-trunk will be
+ # stale if the current trunk revision is different from that of
+ # the cached build. Here, cache and check the rev number of the
+ # build accordingly.
+ trunk_url=https://svn.apache.org/repos/asf/apr/apr/trunk
+ if test $APR_VERSION = trunk; then
+ trunk_rev=`svn info --show-item last-changed-revision ${trunk_url}`
+ # Blow away the cached trunk install if the revision does not
+ # match.
+ test -f $HOME/root/apr-trunk/.revision-is-${trunk_rev} || rm -rf $HOME/root/apr-trunk
+ fi
if ! test -d $HOME/root/apr-${APR_VERSION}; then
case $APR_VERSION in
- trunk) url=https://svn.apache.org/repos/asf/apr/apr/trunk ;;
- *) url=https://svn.apache.org/repos/asf/apr/apr/tags/${APR_VERSION} ;;
+ trunk) svn export -q -r ${trunk_rev} ${trunk_url} $HOME/build/apr-trunk ;;
+ *) svn export -q https://svn.apache.org/repos/asf/apr/apr/tags/${APR_VERSION} \
+ $HOME/build/apr-${APR_VERSION} ;;
esac
- svn export -q ${url} $HOME/build/apr-${APR_VERSION}
pushd $HOME/build/apr-${APR_VERSION}
- if [ $APR_VERSION = 1.4.1 ]; then
- # 1.4.1 doesn't build with current libtool
- svn cat https://svn.apache.org/repos/asf/apr/apr/tags/1.5.1/buildconf > buildconf
- fi
./buildconf
./configure ${APR_CONFIG} --prefix=$HOME/root/apr-${APR_VERSION}
make -j2
make install
+ if test -v trunk_rev; then
+ # Record the revision built in the cache.
+ touch $HOME/root/apr-${APR_VERSION}/.revision-is-${trunk_rev}
+ fi
popd
APU_CONFIG="$APU_CONFIG --with-apr=$HOME/root/apr-${APR_VERSION}"
fi