]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
.cirrus.yml: Add task for FreeBSD builds.
authorFlorian Forster <octo@collectd.org>
Sat, 25 Nov 2023 14:04:10 +0000 (15:04 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 26 Nov 2023 19:37:32 +0000 (20:37 +0100)
.cirrus.yml

index 7099d16184532e814c51ce4af57ed7d62d0017b0..2bd56be0618c1bc864bee93011a2cf7ef85af4d5 100644 (file)
@@ -209,3 +209,23 @@ bleeding_edge_compilers_task:
     - make -j2 -sk
   tests_script:
     - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j2 -sk check || cat ./test-suite.log || false
+
+freebsd_task:
+  freebsd_instance:
+    matrix:
+      - image_family: freebsd-13-2
+  allow_failures: false
+  pkg_install_script:
+    - >
+      pkg install --yes
+      autotools
+      bison
+      flex
+      pkgconf
+  configure_script:
+    - ./build.sh
+    - ./configure --disable-perl
+  build_script:
+    - make -j$(nproc) -sk
+  tests_script:
+    - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j2 -sk check || cat ./test-suite.log && false