[gimp/wip/nielsdg/add-gitlab-ci] Add a GitLab CI manifest



commit ef26c35bed0802add156b9742544e6d18c4c26b3
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 | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..59444e5bde
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+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
+    - dnf install -y libtool --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]