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
This commit is contained in:
Mike Fleetwood 2018-06-22 09:31:33 +00:00
parent d0d1435717
commit 8fc4488fc2
1 changed files with 19 additions and 0 deletions

19
.gitlab-ci.yml Normal file
View File

@ -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