From 328b849fed03b24a02852421a8d13b5d60d1410c Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 9 Aug 2019 17:16:33 +0100
Subject: [PATCH] gitlab-ci: Exercise a scout relocatable build

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c3f297db..9543cd8ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,19 @@ build:scout:
             ninja -C _build
             ninja -C _build install
             meson test --verbose -C _build
+            ./build-relocatable-install.py \
+              --srcdir . \
+              --builddir _build \
+              --libcapsuledir /usr/lib/libcapsule/relocatable \
+              --prefix="$(pwd)/_build/relocatable-install" \
+              --archive "$(pwd)/_build" \
+              --set-version "$(cat .tarball-version)" \
+              ${NULL+}
+            prove -v ./tests/relocatable-install.py :: \
+              --srcdir . \
+              --builddir _build \
+              --prefix="$(pwd)/_build/relocatable-install" \
+              ${NULL+}
 
 # Artifacts are currently disabled because uploading them to the
 # coordinator results in HTTP 413 Request Entity Too Large.
-- 
GitLab