From 9202e7296b60149a668548e14c000d56ac534820 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 22 Jul 2019 18:20:45 +0100
Subject: [PATCH] debian: Enable Gitlab-CI

We are targeting scout, but because scout is so old, its SDK environment
is too old to run deb-build-snapshot. Instead, we do that step in a
Debian 10 'buster' environment, and hand over the artifacts from that
to the autopkgtest step.

Our build-dependencies are not all preinstalled in the CI Docker
images, so add them.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/gitlab-ci.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 debian/gitlab-ci.yml

diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644
index 000000000..ff1c78433
--- /dev/null
+++ b/debian/gitlab-ci.yml
@@ -0,0 +1,24 @@
+include:
+    - project: 'steam/steam-ci-pipeline'
+      file: '/steam-gitlab-ci-common.yml'
+
+    - project: 'steam/steam-ci-pipeline'
+      file: '/steam-gitlab-ci-pipeline.yml'
+
+variables:
+    BUILD_IMAGE: docker.internal.steamos.cloud/steamrt/sdk:scout-latest
+    STEAM_CI_USE_BINARIES_FROM: autopkgtest
+    STEAM_CI_DEPENDENCIES: >-
+        debhelper
+        gtk-doc-tools
+        libegl1-mesa-dev
+        libgl1-mesa-dev
+        libgles2-mesa-dev
+        libglib2.0-dev
+        libx11-dev
+        libxcomposite-dev
+        meson
+
+build:
+    variables:
+        BUILD_IMAGE: docker.internal.steamos.cloud/steamos/package-builder:buster
-- 
GitLab