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