From 1bfad08412c13c5d224829baf849310b3542b975 Mon Sep 17 00:00:00 2001
From: Tao Lin <lintao@ihep.ac.cn>
Date: Fri, 29 Nov 2019 22:13:11 +0800
Subject: [PATCH] Update .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9cb48357..cee95655 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,18 +3,12 @@ build:
   before_script:
     - source /cvmfs/cepcsw.ihep.ac.cn/prototype/setup.sh
   script:
-    - cmake -Bbuild -H.
-    - make -Cbuild
+    - mkdir build
+    - cd build
+    - cmake ..
+    - make
   artifacts:
     paths:
       - build/
 
-# run tests using the binary built before
-test:
-  stage: test
-  dependencies:
-    - build
-  script:
-    - cd build
-    - ./run gaudirun.py '$EXAMPLESROOT/options/tut_detsim.py'
 
-- 
GitLab