[gimp/wip/nielsdg/add-gitlab-ci] Add a GitLab CI manifest
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/nielsdg/add-gitlab-ci] Add a GitLab CI manifest
- Date: Sun, 21 Jul 2019 09:15:37 +0000 (UTC)
commit 2be47a427f78b42857f6df166f736ea4188bfe84
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Jul 21 10:33:38 2019 +0200
Add a GitLab CI manifest
This manifest will allow us to run some basic checks on each commit and
integrate build status properly into the GitLab UI. This does not need
to contend with build.gimp.org per se: we can use the CI for Merge
Requests to perform basic checks, while the build server does the heavy
work.
.gitlab-ci.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..160216fa32
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+image: fedora:rawhide
+
+stages:
+ - build
+
+build-gimp:
+ stage: build
+ except:
+ - tags
+ before_script:
+ - dnf update -y --nogpgcheck
+ # Get the build-dep plugin
+ - dnf install -y dnf-plugins-core redhat-rpm-config --nogpgcheck
+ # Build the dependencies
+ - dnf builddep -y gimp --nogpgcheck
+ # Some reasons aren't part of the RPM dependencies
+ - dnf install -y libtool gtk3-devel --nogpgcheck
+ script:
+ - mkdir _build
+ - cd _build
+ - ../autogen.sh
+ - make -j8
+ artifacts:
+ paths:
+ - "config.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]