GitHub CI: update list of container images
[tinc] / .builds / freebsd.yml
index 547032c..8cbd898 100644 (file)
@@ -1,48 +1,22 @@
-image: freebsd/13.x
+image: freebsd/14.x
 
 packages:
-  - autotools
-  - openssl
-  - lzo2
+  - cmocka
+  - libgcrypt
   - liblz4
-  - ncurses
-  - miniupnpc
-  - readline
+  - lzo2
+  - meson
+  - pkgconf
   - texinfo
   - vde2
-  - libgcrypt
-  - llvm12
-  - py38-pip
-
-environment:
-  CFLAGS: -I/usr/local/include -L/usr/local/lib
 
 sources:
   - https://github.com/gsliepen/tinc
 
-tasks:
-  - configure: |
-      cd tinc
-      autoreconf -fsi
-      ./configure --enable-miniupnpc --enable-vde
-
-  - build: |
-      cd tinc
-      make -j$(sysctl -n hw.ncpu)
-
-  - test: |
-      cd tinc
-      make check-recursive VERBOSE=1
+environment:
+  PKG_CONFIG_PATH: /usr/local/libdata/pkgconfig
 
-  - lint: |
-      export PATH=$PATH:$HOME/.local/bin
-      pip install --user compiledb
-      cd tinc
-      compiledb -n make check
-      find src \
-        ! '(' -path src/solaris -prune ')' \
-        ! '(' -path src/mingw   -prune ')' \
-        ! '(' -path src/linux   -prune ')' \
-        ! -name tunemu.c \
-        -name '*.c' \
-        -exec clang-tidy12 --header-filter='.*' '{}' +
+tasks:
+  - openssl: sh tinc/.ci/bsd/run.sh openssl
+  - nolegacy: sh tinc/.ci/bsd/run.sh nolegacy
+  - gcrypt: sh tinc/.ci/bsd/run.sh gcrypt