]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
ci: Remove the "statgrab" task from CirrusCI.
authorFlorian Forster <octo@collectd.org>
Tue, 23 Jan 2024 12:14:02 +0000 (13:14 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 4 Feb 2024 07:19:31 +0000 (08:19 +0100)
The "statgrab" job builds collectd with the "statgrab" library and then expects
certain plugins to be linked against it. However, since the build runs on
Linux, the plugins are actually using the "native" implementation. The linker,
noticing that the plugin is not referring to any symbol in the statgrab
library, does not actually produce a link, causing the test to fail.

The native implementations provide much richer metrics than the libstatgrab
based implementations, so we'll drop the test.

.cirrus.yml

index 1a593ec21931303f05d4ec91884ff852f0bdeb6f..ac1c98869763cfd55a51fed28672b7b5cf7b57a3 100644 (file)
@@ -144,30 +144,6 @@ non_standard_toolchains_task:
         make_check_artifacts:
           path: "**/*.log"
 
-    # build against libstatgrab, should always pass
-    - env:
-        LABEL: statgrab
-      allow_failures: false
-      skip_notifications: false
-      configure_script:
-        - ./build.sh
-        - gcc --version
-        - >
-          ./configure --with-libstatgrab --enable-debug
-          CFLAGS="$(dpkg-buildflags --get CFLAGS)"
-          CPPLAGS="$(dpkg-buildflags --get CPPFLAGS)"
-          LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"
-      build_script:
-        - make -j$(nproc) -sk
-      tests_script:
-        - >
-          for i in cpu disk interface load memory swap users; do
-            if ! $(ldd ".libs/${i}.so" 2>/dev/null | grep -q 'libstatgrab.so'); then
-              echo "plugin $i NOT linked against libstatgrab"
-              exit 1
-            fi
-          done
-
     # build using clang with a collection of strict build flags, will most
     # probably always fail
     - env: