#
debian_default_toolchain_task:
matrix:
- - allow_failures: true
- skip_notifications: true
- container:
- image: collectd/ci:wheezy_amd64 # TODO: fix this platform
- allow_failures: false
container:
image: collectd/ci:jessie_amd64
- allow_failures: true
skip_notifications: true
container:
- image: collectd/ci:fedora26_x86_64
- - allow_failures: true
- skip_notifications: true
- container:
image: collectd/ci:fedora28_x86_64
# fedora/rawhide is expected to fail
- allow_failures: true
- ./build.sh
- clang --version
- >
- ./configure CC=clang
+ ./configure CC=clang CXX=clang++
$DEFAULT_CONFIG_OPTS
CFLAGS="$(dpkg-buildflags --get CFLAGS)"
CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
fi
done
- # build against musl-libc using gcc wrapper, expected to fail
- - env:
- LABEL: musl libc
- allow_failures: true
- skip_notifications: true
- configure_script:
- - ./build.sh
- - musl-gcc --version
- - >
- ./configure CC=musl-gcc
- $DEFAULT_CONFIG_OPTS
- CFLAGS="$(dpkg-buildflags --get CFLAGS)"
- CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
- LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
- build_script:
- - make -j2 -sk
- tests_script:
- - make -j2 -sk check
-
# build using clang with a collection of strict build flags, will most
# probably always fail
- env:
- ./build.sh
- clang --version
- >
- ./configure CC=clang
+ ./configure CC=clang CXX=clang++
$DEFAULT_CONFIG_OPTS
CFLAGS='-Wall
-Wno-error