@@ -38,11 +38,9 @@ mirror:
3838 - git config --global user.name "GitLab CI"
3939 - git checkout development
4040 - git config pull.rebase true
41- - git remote get-url origin
4241 - git remote set-url origin https://github.com/jeffersonlab/coatjava
43- - git pull
42+ - git pull origin development
4443 - git remote set-url origin https://gitlab-ci-token:${CI_JOB_TOKEN}@code.jlab.org/hallb/clas12/coatjava/coatjava.git
45- # - git remote set-url origin git@code.jlab.org:hallb/clas12/coatjava/coatjava
4644 - git push
4745
4846build :
6159 - coatjava.tar.gz
6260 - clara.tar.gz
6361
64- depana :
62+ . depana :
6563 allow_failure : true
6664 stage : build
6765 script :
@@ -78,15 +76,15 @@ download:
7876 paths :
7977 - clas_018779.evio.00001
8078
81- spotbugs :
79+ . spotbugs :
8280 stage : test
8381 needs : [build]
8482 dependencies : [build]
8583 script :
8684 - tar -xzf coatjava.tar.gz
8785 - ./build-coatjava.sh -T$JL_RUNNER_AVAIL_CPU --spotbugs --quiet --no-progress
8886
89- unit_tests :
87+ . unit_tests :
9088 stage : test
9189 needs : [build]
9290 dependencies : [build]
@@ -100,7 +98,7 @@ unit_tests:
10098 paths :
10199 - publish
102100
103- docs :
101+ . docs :
104102 stage : test
105103 needs : [build,unit_tests]
106104 dependencies : [build,unit_tests]
@@ -163,14 +161,23 @@ profile:
163161 dependencies : [build,decoder]
164162 script :
165163 - tar -xzf coatjava.tar.gz
166- - libexec/profile -e cpu clas_018779_00001.hipo
164+ - libexec/profile -f flamegraph -e cpu clas_018779_00001.hipo
165+ - libexec/profile -f flamegraph -e nativemem clas_018779_00001.hipo
166+ - libexec/profile -f flamegraph -e alloc clas_018779_00001.hipo
167+ artifacts :
168+ when : always
169+ expire_in : 1 week
170+ paths :
171+ - pro_flamegraph_cpu_clas_018779_00001
172+ - pro_flamegraph_nativemem_clas_018779_00001
173+ - pro_flamegraph_alloc_clas_018779_00001
167174
168- deploy :
175+ . deploy :
169176 stage : deploy
170177 script :
171178 - echo DEPLOY!
172179
173- release :
180+ . release :
174181 stage : deploy
175182 script :
176183 - echo RELEASE!
0 commit comments