X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=865889506691d5a6250ec1c1fe9b95a049a4777b;hb=d3849fcb278d1df005c507f7e18a8397574f7f47;hp=547032c49cf781878c49f3f277bfc82a3bd9a0cd;hpb=0384469e00910ae2b7d32740945d25c80babbcae;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 547032c4..86588950 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,48 +1,22 @@ image: freebsd/13.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