X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=.cirrus.yml;h=ab88daf64005a76a58ad0e998124f359f3f4253c;hp=60254b82b89c09af28c2ad8caa743b2b2596e2c1;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=526075af0a85a3dcba05acc643a9898d516b589a diff --git a/.cirrus.yml b/.cirrus.yml index 60254b82..ab88daf6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,7 +17,7 @@ release_ready_task: - ./build.sh - ./configure $DEFAULT_CONFIG_OPTS checks_script: - - make -s distcheck DISTCHECK_CONFIGURE_FLAGS="${DEFAULT_CONFIG_OPTS}" + - make -j2 -s distcheck DISTCHECK_CONFIGURE_FLAGS="${DEFAULT_CONFIG_OPTS}" ### # Default toolchain and build flags used in deb packages, on a range of Debian @@ -26,10 +26,6 @@ release_ready_task: # 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 @@ -60,9 +56,9 @@ debian_default_toolchain_task: CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" build_script: - - make -sk + - make -j2 -sk tests_script: - - make -sk check + - make -j2 -sk check - /checks/check-built-plugins.sh ### @@ -83,10 +79,6 @@ redhat_default_toolchain_task: - 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 @@ -99,9 +91,9 @@ redhat_default_toolchain_task: - gcc --version - ./configure CC=gcc $DEFAULT_CONFIG_OPTS CFLAGS="$(rpm --eval '%optflags')" build_script: - - make -sk + - make -j2 -sk tests_script: - - make -sk check + - make -j2 -sk check - /checks/check-built-plugins.sh @@ -125,15 +117,15 @@ non_standard_toolchains_task: - ./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)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" build_script: - - make -sk + - make -j2 -sk tests_script: - - make -sk check + - make -j2 -sk check # build against libstatgrab, should always pass - env: @@ -149,7 +141,7 @@ non_standard_toolchains_task: CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" build_script: - - make -sk + - make -j2 -sk tests_script: - > for i in cpu disk interface load memory swap users; do @@ -159,25 +151,6 @@ non_standard_toolchains_task: 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 -sk - tests_script: - - make -sk check - # build using clang with a collection of strict build flags, will most # probably always fail - env: @@ -188,7 +161,7 @@ non_standard_toolchains_task: - ./build.sh - clang --version - > - ./configure CC=clang + ./configure CC=clang CXX=clang++ $DEFAULT_CONFIG_OPTS CFLAGS='-Wall -Wno-error @@ -215,9 +188,9 @@ non_standard_toolchains_task: -Wno-typedef-redefinition -Wno-gnu-variable-sized-type-not-at-end' build_script: - - make -sk + - make -j2 -sk tests_script: - - make -sk check + - make -j2 -sk check ### # Build using a range of compilers, available in debian/unstable. NB: might @@ -247,6 +220,6 @@ bleeding_edge_compilers_task: CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" build_script: - - make -sk + - make -j2 -sk tests_script: - - make -sk check + - make -j2 -sk check