gplugin/builders

e8e21ec52990
Parents 56b6fa52998d
Children 6e97f1e338ca
Add a simple build image that builds and runs the unittests
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Dockerfile.simple Mon Jul 22 02:43:56 2019 -0500
@@ -0,0 +1,6 @@
+FROM gplugin/builders:debian-buster-amd64
+
+MAINTAINER Gary Kramlich <grim@reaperworld.com>
+
+COPY simple/build.sh /
+
--- a/convey.yml Thu Jul 18 01:36:35 2019 -0500
+++ b/convey.yml Mon Jul 22 02:43:56 2019 -0500
@@ -164,6 +164,11 @@
stages:
- tasks: [import, build-target]
+ simple:
+ environment: [TARGET=simple, FILES=simple]
+ stages:
+ - tasks: [import, build-target]
+
ubuntu-bionic-amd64:
environment: [DISTRO=ubuntu, VERSION=bionic, FILES=debian]
stages:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/simple/build.sh Mon Jul 22 02:43:56 2019 -0500
@@ -0,0 +1,9 @@
+#!/bin/sh -ex
+
+cd ${CONVEY_WORKSPACE}
+
+BUILD_DIR="build-simple"
+
+meson "${BUILD_DIR}"
+ninja -C "${BUILD_DIR}" test
+