[jhbuild] gitlab: add CI
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] gitlab: add CI
- Date: Wed, 28 Aug 2019 21:36:42 +0000 (UTC)
commit 043ca90e751224bfa36097a085574c136e505240
Author: Christoph Reiter <reiter christoph gmail com>
Date: Wed Aug 28 21:21:08 2019 +0200
gitlab: add CI
.gitlab-ci.yml | 11 +++++++++++
.gitlab-ci/Dockerfile | 17 +++++++++++++++++
.gitlab-ci/build-docker.sh | 7 +++++++
3 files changed, 35 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..51702046
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,11 @@
+stages:
+ - test
+
+test:
+ image: registry.gitlab.gnome.org/gnome/jhbuild/jhbuild:v1
+ script:
+ - mkdir _build && cd _build
+ - ../autogen.sh
+ - make
+ - make install
+ - make distcheck
\ No newline at end of file
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
new file mode 100644
index 00000000..17b2bea8
--- /dev/null
+++ b/.gitlab-ci/Dockerfile
@@ -0,0 +1,17 @@
+FROM ubuntu:disco
+
+RUN apt update && apt install -y \
+ autoconf \
+ automake \
+ autopoint \
+ gettext \
+ git \
+ libtool \
+ make \
+ patch \
+ pkg-config \
+ python \
+ trang \
+ yelp-tools
+
+ENV LANG C.UTF-8
\ No newline at end of file
diff --git a/.gitlab-ci/build-docker.sh b/.gitlab-ci/build-docker.sh
new file mode 100755
index 00000000..257a859d
--- /dev/null
+++ b/.gitlab-ci/build-docker.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -e
+
+TAG="registry.gitlab.gnome.org/gnome/jhbuild/jhbuild:v1"
+
+sudo docker build --tag "${TAG}" --file "Dockerfile" .
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]