pidgin/builders

Parents 9429fae22647
Children cd3167e91b31
Add silc-toolkit to the subproject build image and split out the subproject build script to include the docs and pot file in the build
--- a/Dockerfile.subproject-build Fri Jan 22 04:21:44 2021 -0600
+++ b/Dockerfile.subproject-build Fri Feb 12 22:50:17 2021 -0600
@@ -40,7 +40,19 @@
apt-get clean && \
rm -rf /var/lib/apt/lists
-COPY simple/build.sh /usr/local/bin/build.sh
+RUN set -ex && \
+ cd /tmp && \
+ wget https://downloads.sourceforge.net/project/silc/silc/toolkit/sources/silc-toolkit-1.1.12.tar.bz2 && \
+ tar jxf silc-toolkit-1.1.12.tar.bz2 && \
+ cd silc-toolkit-1.1.12 && \
+ ./configure && \
+ make -s && \
+ make install && \
+ ldconfig && \
+ cd .. && \
+ rm -rf silc-toolkit*
+
+COPY subproject-build/build.sh /usr/local/bin/build.sh
CMD ["build.sh"]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/subproject-build/build.sh Fri Feb 12 22:50:17 2021 -0600
@@ -0,0 +1,13 @@
+#!/bin/sh -ex
+
+cd "${CONVEY_WORKSPACE}"
+
+TARGET="${TARGET:-unknown}"
+
+BUILD_DIR="build-${TARGET}"
+
+meson -Dsilc=enabled -Ddoc=true "${BUILD_DIR}"
+ninja -C "${BUILD_DIR}" test
+ninja -C "${BUILD_DIR}" pidgin-pot
+ninja -C "${BUILD_DIR}" doc
+