[gimp/wip/schumaml/make-check-stage] build: add a check stage to .gitlab-ci.yml and run make check for GIMP



commit 3fb7a2ac67b89e8bc9e4ce2ca912453cf24a0ccf
Author: Michael Schumacher <schumaml gmx de>
Date:   Sun Sep 8 21:10:25 2019 +0200

    build: add a check stage to .gitlab-ci.yml and run make check for GIMP
    
    This first attempt is an expected fail.

 .gitlab-ci.yml | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d877d856f8..dee39dcab0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ stages:
   - babl
   - gegl
   - gimp
+  - check
 
 variables:
   INSTALL_DIR: "_install"
@@ -170,13 +171,6 @@ gegl-git:
         --with-javascript=force
         --with-lua=force
     - make -j "$(nproc)"
-    # - make check
-  artifacts:
-    name: "app-tests-logs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
-    when: on_failure
-    expire_in: 1 week
-    paths:
-      - _build/app/tests/
 
 build-git-autotools:
   extends: .gimp-autotools
@@ -184,6 +178,20 @@ build-git-autotools:
     - babl-git
     - gegl-git
 
+check-git-autotools:
+  stage: check
+  extends: build-git-autotools
+  allow_failure: true
+  script:
+    cd _build
+    make check
+  artifacts:
+    name: "app-tests-logs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+    when: on_failure
+    expire_in: 1 week
+    paths:
+      - _build/app/tests/
+
 # build-min-autotools:
 #   extends: .gimp-autotools
 #   dependencies:


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