packages:
- coreutils
- - autotools
+ - meson
+ - pkgconf
- openssl
- lzo2
- liblz4
- 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
+ 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
image: netbsd/9.x
packages:
- - gmake
- - automake
- - autoconf
+ - meson
+ - pkgconf
- openssl
- lzo
- lz4
- readline
- gtexinfo
-environment:
- CFLAGS: -I/usr/pkg/include -L/usr/pkg/lib
-
sources:
- https://github.com/gsliepen/tinc
tasks:
- configure: |
cd tinc
- autoreconf -fsi
- ./configure --with-miniupnpc
+ meson setup build -Dpkg_config_path=/usr/pkg/lib/pkgconfig -Dminiupnpc=auto
- build: |
cd tinc
- gmake -j$(sysctl -n hw.ncpu)
+ ninja -C build
- test: |
cd tinc
- export LD_LIBRARY_PATH=/usr/pkg/lib
- gmake check-recursive VERBOSE=1
+ meson test -C build --verbose
-image: openbsd/6.9
+image: openbsd/7.0
packages:
- - gmake
- - automake-1.16.3
- - autoconf-2.71
- - openssl-1.1.1k
+ - meson
+ - pkgconf
- lzo2
- lz4
- miniupnpc
- readline
- texinfo
-environment:
- AUTOCONF_VERSION: 2.71
- AUTOMAKE_VERSION: 1.16
- CFLAGS: -I/usr/local/include -L/usr/local/lib
-
sources:
- https://github.com/gsliepen/tinc
tasks:
- configure: |
cd tinc
- autoreconf -fsi
- ./configure --with-miniupnpc
+ meson setup build -Dminiupnpc=auto
- build: |
cd tinc
- gmake -j$(sysctl -n hw.ncpu)
+ ninja -C build
- test: |
cd tinc
- gmake check-recursive VERBOSE=1
+ meson test -C build --verbose