a52803b289f3baa870beedfb8cf03b20f9226821
[tinc] / .builds / freebsd.yml
1 image: freebsd/13.x
2
3 packages:
4   - coreutils
5   - autotools
6   - openssl
7   - lzo2
8   - liblz4
9   - ncurses
10   - miniupnpc
11   - readline
12   - texinfo
13   - vde2
14   - libgcrypt
15   - llvm12
16   - py38-pip
17
18 environment:
19   CFLAGS: -I/usr/local/include -L/usr/local/lib
20
21 sources:
22   - https://github.com/gsliepen/tinc
23
24 tasks:
25   - configure: |
26       cd tinc
27       autoreconf -fsi
28       ./configure --enable-miniupnpc --enable-vde
29
30   - build: |
31       cd tinc
32       make -j$(sysctl -n hw.ncpu)
33
34   - test: |
35       cd tinc
36       make check-recursive VERBOSE=1
37
38   - lint: |
39       mkdir -p ~/.local/bin
40       ln -f -s "$(which clang-tidy12)" ~/.local/bin/clang-tidy
41       pip install --user compiledb
42       cd tinc
43       export PATH=$PATH:$HOME/.local/bin
44       sh .ci/tidy/run.sh