Add cmocka packages to CI jobs
authorKirill Isakov <bootctl@gmail.com>
Wed, 23 Mar 2022 06:45:11 +0000 (12:45 +0600)
committerKirill Isakov <bootctl@gmail.com>
Wed, 23 Mar 2022 11:32:18 +0000 (17:32 +0600)
.builds/freebsd.yml
.builds/netbsd.yml
.builds/openbsd.yml
.ci/deps.sh

index 5ecfd76..b7d0681 100644 (file)
@@ -13,6 +13,7 @@ packages:
   - texinfo
   - vde2
   - libgcrypt
+  - cmocka
 
 sources:
   - https://github.com/gsliepen/tinc
index bbeaf28..7fbaca4 100644 (file)
@@ -9,6 +9,7 @@ packages:
   - miniupnpc
   - readline
   - gtexinfo
+  - cmocka
 
 sources:
   - https://github.com/gsliepen/tinc
index caf4799..f931ca4 100644 (file)
@@ -8,6 +8,7 @@ packages:
   - miniupnpc
   - readline
   - texinfo
+  - cmocka
 
 sources:
   - https://github.com/gsliepen/tinc
index 523e7aa..b29ee12 100755 (executable)
@@ -8,7 +8,7 @@ deps_linux_alpine() {
   apk add \
     git binutils meson pkgconf gcc linux-headers diffutils \
     procps socat shadow sudo libgcrypt-dev texinfo gzip \
-    openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev
+    openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev cmocka-dev
 }
 
 deps_linux_debian_mingw() {
@@ -37,6 +37,7 @@ deps_linux_debian_linux() {
     libgcrypt-dev:"$HOST" \
     libminiupnpc-dev:"$HOST" \
     libvdeplug-dev:"$HOST" \
+    libcmocka-dev:"$HOST" \
     "$@"
 
   if [ -n "$HOST" ]; then