[gparted] Create initial GitLab CI job which builds on CentOS (!4)



commit 8fc4488fc21b4d1cdcc3633184d9532ac38fa85e
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Fri Jun 22 09:31:33 2018 +0000

    Create initial GitLab CI job which builds on CentOS (!4)
    
    Initial GitLab Continuous Integration configuration with a single job
    named 'build' which just confirms GParted can be built and installed on
    the latest official CentOS Docker image.
    
    Closes !4 - Add GitLab CI jobs to build and test GParted

 .gitlab-ci.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..ac702e3e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+# Use official CentOS image https://hub.docker.com/_/centos/.
+image: centos:latest
+
+before_script:
+  - yum update -y
+  - yum install -y which gnome-common gnome-doc-utils glib2-devel intltool
+                   gcc-c++ libuuid-devel parted-devel gtkmm24-devel make
+                   polkit
+
+stages:
+  - build
+
+# Check GParted can be built and installed.
+build:
+  stage: build
+  script:
+    - ./autogen.sh
+    - make
+    - make install


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]