Make sure version.py runs succesfully even if git is not installed.
[tinc] / .builds / openbsd.yml
index d8b2ea1..f931ca4 100644 (file)
@@ -1,19 +1,14 @@
-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
+  - cmocka
 
 sources:
   - https://github.com/gsliepen/tinc
@@ -21,13 +16,12 @@ sources:
 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