X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=b7d06813e7b0ae0a671b3adcafecd17b68704fcf;hb=34317698b8c024de5c948b6f6058730b1fdbc328;hp=a52803b289f3baa870beedfb8cf03b20f9226821;hpb=4203f7c88d5f17dc10075d371ca97aa6359ba71b;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index a52803b2..b7d06813 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -2,7 +2,8 @@ image: freebsd/13.x packages: - coreutils - - autotools + - meson + - pkgconf - openssl - lzo2 - liblz4 @@ -12,11 +13,7 @@ packages: - texinfo - vde2 - libgcrypt - - llvm12 - - py38-pip - -environment: - CFLAGS: -I/usr/local/include -L/usr/local/lib + - cmocka sources: - https://github.com/gsliepen/tinc @@ -24,21 +21,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: | - 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 + meson test -C build --verbose