sourcehut CI: change build system to meson
[tinc] / .builds / openbsd.yml
index 23ad669..caf4799 100644 (file)
@@ -1,34 +1,26 @@
-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