[libgda/LIBGDA_5.2] CI: seting up two stages: build and dist



commit 108084078afbfd27697b25cfb27139f958f074f8
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Sep 27 10:20:14 2018 -0500

    CI: seting up two stages: build and dist

 .gitlab-ci.yml | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7e998e135..fec8fadce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ image: ubuntu:devel
 
 stages:
      - build
+     - dist
 
 variables:
   DEPENDENCIES: gcc gettext gtk-doc-tools make autoconf
@@ -40,12 +41,25 @@ autotools_build:
   stage: build
   script:
   - ./autogen.sh
-  - make distclean
-  - mkdir _build
-  - cd _build
-  - ../configure
   - make
   - make check
+  artifacts:
+    when: on_failure
+    paths:
+    - tests/test-suite.log
+    - libgda/test-suite.log
+    - tests/data-models/test-suite.log
+    - tests/meta-store/test-suite.log
+    - tests/value-holders/test-suite.log
+    - tests/parser/test-suite.log
+    - tests/providers/test-suite.log
+    expire_in: 1 week
+
+autotools_dist:
+  stage: dist
+  script:
+  - ./autogen.sh
+  - make
   - make distcheck
   artifacts:
     when: on_failure


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