X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=b7d06813e7b0ae0a671b3adcafecd17b68704fcf;hb=e25ae9efe89d42ec9974bd7cd6f1af1655f2a734;hp=26829ccf5c6221e7a2ea691b2dc2e06d1697926a;hpb=7619f84393f824a84e20e03167304b27d3581ac0;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 26829ccf..b7d06813 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,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 @@ -23,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