diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..4110cfa14bd1a0da83249793be8d5dea58b77130 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ + +build: + stage: build + before_script: + - source /cvmfs/cepcsw.ihep.ac.cn/prototype/setup.sh + script: + - mkdir build + - cd build + - cmake .. + - make + + +# run tests using the binary built before +test: + stage: test + script: + - cd build + - ./run gaudirun.py '$EXAMPLESROOT/options/tut_detsim.py' +