From 8fc4488fc21b4d1cdcc3633184d9532ac38fa85e Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Fri, 22 Jun 2018 09:31:33 +0000 Subject: [PATCH] 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(+) create mode 100644 .gitlab-ci.yml 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