From c24f308e2006b2cbb9ed02772853438c19c6bb6e Mon Sep 17 00:00:00 2001
From: rulrich <ralf.m.ulrich@kit.edu>
Date: Fri, 29 May 2020 07:57:11 +0200
Subject: [PATCH] store log in file

---
 .gitlab-ci.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf1bb8988..be98d1e3b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,7 +25,6 @@ config-u-18_04:
   variables:
     CORSIKA_DATA: "${CI_PROJECT_DIR}/corsika-data/"
   script:
-    - git clone https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika-data.git    
     - mkdir build
     - cd build
     - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_PYTHIA=ON
@@ -33,7 +32,6 @@ config-u-18_04:
     expire_in: 1 day
     paths:
        - build
-       - corsika-data
 
 # job/stage to just prepare cmake
 config-clang-8:
@@ -169,7 +167,7 @@ example-u-18_04:
     - git clone https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika-data.git
     - cd build
     - set -o pipefail
-    - make run_examples
+    - make run_examples | gzip -v -9 > examples.log.gz
   artifacts:
     when: always
     expire_in: 1 week
@@ -193,7 +191,7 @@ example-clang-8:
     - git clone https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika-data.git
     - cd build
     - set -o pipefail
-    - make run_examples
+    - make run_examples | gzip -v -9 > examples.log.gz
   artifacts:
     when: always
     expire_in: 1 week
-- 
GitLab