Improve failure detection in the test suite.
[tinc] / .builds / freebsd.yml
index 5afae0f..a52803b 100644 (file)
@@ -1,14 +1,19 @@
 image: freebsd/13.x
 
 packages:
-  - gmake
+  - coreutils
   - autotools
   - openssl
   - lzo2
+  - liblz4
   - ncurses
   - miniupnpc
   - readline
   - texinfo
+  - vde2
+  - libgcrypt
+  - llvm12
+  - py38-pip
 
 environment:
   CFLAGS: -I/usr/local/include -L/usr/local/lib
@@ -20,12 +25,20 @@ tasks:
   - configure: |
       cd tinc
       autoreconf -fsi
-      ./configure --with-miniupnpc
+      ./configure --enable-miniupnpc --enable-vde
 
   - build: |
       cd tinc
-      gmake -j$(sysctl -n hw.ncpu)
+      make -j$(sysctl -n hw.ncpu)
 
   - test: |
       cd tinc
-      gmake check-recursive VERBOSE=1
+      make check-recursive VERBOSE=1
+
+  - lint: |
+      mkdir -p ~/.local/bin
+      ln -f -s "$(which clang-tidy12)" ~/.local/bin/clang-tidy
+      pip install --user compiledb
+      cd tinc
+      export PATH=$PATH:$HOME/.local/bin
+      sh .ci/tidy/run.sh