CI: add support for FreeBSD/NetBSD/OpenBSD through sourcehut
[tinc] / .builds / freebsd.yml
1 image: freebsd/13.x
2
3 packages:
4   - gmake
5   - autotools
6   - openssl
7   - lzo2
8   - ncurses
9   - miniupnpc
10   - readline
11   - texinfo
12
13 environment:
14   CFLAGS: -I/usr/local/include -L/usr/local/lib
15
16 sources:
17   - https://github.com/gsliepen/tinc
18
19 tasks:
20   - configure: |
21       cd tinc
22       autoreconf -fsi
23       ./configure --with-miniupnpc
24
25   - build: |
26       cd tinc
27       gmake -j$(sysctl -n hw.ncpu)
28
29   - test: |
30       cd tinc
31       gmake check-recursive VERBOSE=1