CI: run all test flavors on BSDs
[tinc] / .builds / netbsd.yml
index 7fbaca4..41e5895 100644 (file)
@@ -1,28 +1,22 @@
 image: netbsd/9.x
 
 packages:
-  - meson
-  - pkgconf
-  - openssl
-  - lzo
+  - cmocka
+  - gtexinfo
+  - libgcrypt
   - lz4
+  - lzo
+  - meson
   - miniupnpc
-  - readline
-  - gtexinfo
-  - cmocka
+  - pkgconf
 
 sources:
   - https://github.com/gsliepen/tinc
 
-tasks:
-  - configure: |
-      cd tinc
-      meson setup build -Dpkg_config_path=/usr/pkg/lib/pkgconfig -Dminiupnpc=auto
-
-  - build: |
-      cd tinc
-      ninja -C build
+environment:
+  PKG_CONFIG_PATH: /usr/pkg/lib/pkgconfig
 
-  - test: |
-      cd tinc
-      meson test -C build --verbose
+tasks:
+  - openssl: sh tinc/.ci/bsd/run.sh openssl
+  - nolegacy: sh tinc/.ci/bsd/run.sh nolegacy
+  - gcrypt: sh tinc/.ci/bsd/run.sh gcrypt