X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=5ecfd76da593a74521ddfdce836982ab9eabf2ff;hb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;hp=547032c49cf781878c49f3f277bfc82a3bd9a0cd;hpb=0384469e00910ae2b7d32740945d25c80babbcae;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 547032c4..5ecfd76d 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,7 +1,9 @@ image: freebsd/13.x packages: - - autotools + - coreutils + - meson + - pkgconf - openssl - lzo2 - liblz4 @@ -11,11 +13,6 @@ packages: - texinfo - vde2 - libgcrypt - - llvm12 - - py38-pip - -environment: - CFLAGS: -I/usr/local/include -L/usr/local/lib sources: - https://github.com/gsliepen/tinc @@ -23,26 +20,12 @@ sources: tasks: - configure: | cd tinc - autoreconf -fsi - ./configure --enable-miniupnpc --enable-vde + meson setup build -Dpkg_config_path=/usr/local/lib/pkgconfig - build: | cd tinc - make -j$(sysctl -n hw.ncpu) + ninja -C build - test: | cd tinc - make check-recursive VERBOSE=1 - - - 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='.*' '{}' + + meson test -C build --verbose