Add an i386 build using a multilib packages and "gcc -m32".
(All other Travis builds are 64-bit arches currently)
@@ -48,6 +48,31 @@ matrix:
env: CONFIG="--enable-mods-shared=reallyall"
TEST_ARGS="-v"
# -------------------------------------------------------------------------
+ - name: Linux i386 Ubuntu, Shared MPMs, most modules, maintainer-mode w/-Werror
+ env: CONFIG="--enable-mods-shared=reallyall --disable-xml2enc --disable-proxy-html --enable-mpms-shared=all --enable-maintainer-mode"
+ PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig"
+ NOTEST_CFLAGS="-Werror"
+ CC="gcc -m32"
+ APR_VERSION=1.7.0
+ APU_VERSION=1.6.1 APU_CONFIG="--with-crypto"
+ addons:
+ apt:
+ sources:
+ - sourceline: 'deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe'
+ packages:
+ - cpanminus
+ - libc6-dev-i386
+ - gcc-multilib
+ - libexpat1-dev:i386
+ - libssl-dev:i386
+ - lib32z1-dev
+ - libbrotli-dev:i386
+ - libpcre2-dev:i386
+ - libtool-bin
+ - perl-doc
+ - libapr1-dev
+ - libbrotli-dev:i386
+ # -------------------------------------------------------------------------
- name: Linux Ubuntu, Default, all-modules
env: CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
@@ -197,10 +222,13 @@ matrix:
env: NOTEST_CFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined" NOTEST_LIBS=-lubsan
CONFIG="--enable-mods-shared=reallyall --disable-http2" TEST_UBSAN=1
+# CPAN modules are to be used with the system Perl and always with
+# CC=gcc, e.g. for the CC="gcc -m32" case the builds are not correct
+# otherwise.
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib);
- cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime HTTP::DAV Protocol::HTTP2::Client FCGI;
+ CC=gcc cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime HTTP::DAV Protocol::HTTP2::Client FCGI;
fi
before_script:
