16 - export CCACHE_DIR=$PWD/.ccache
17 - export PATH=$PWD/bin:$PATH
21 - type -a nitc nitdoc || true # is there some nit tools?
25 - export CCACHE_DIR=$PWD/.ccache
27 - git status --ignored
31 # BASIC JOBS ########################################################
36 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
37 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
38 - misc/jenkins/checklicense.sh | tee -a status.txt
45 - misc/jenkins/check_manpages.sh
46 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
68 - ./search_tests_git.sh origin/master HEAD > list
69 - ./testall.sh `cat list` | tee log.txt
70 - grep -v '=>' log.txt > ../status.txt || true
84 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt || true
85 - xargs nitls -pP < list0.txt > list.txt
86 - xargs nitunit < list.txt
100 - nitls lib src examples contrib
101 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
102 - xargs nitpick < list.txt
109 - make -C contrib/asteronits android
112 - contrib/asteronits/bin/*.apk
114 # TEST FULL #########################################################
122 - ./testfull.sh | tee log.txt
123 - grep -v '=>' log.txt > ../status.txt || true
140 - ./testfull.sh --engine niti | tee log.txt
141 - grep -v '=>' log.txt > ../status.txt || true
158 - ./testfull.sh --engine nitcg | tee log.txt
159 - grep -v '=>' log.txt > ../status.txt || true
176 - ./testfull.sh --engine nitce | tee log.txt
177 - grep -v '=>' log.txt > ../status.txt || true
194 - ./testfull.sh --engine nitcsg | tee log.txt
195 - grep -v '=>' log.txt > ../status.txt || true
206 # LIB, CONTRIB AND OOT ##############################################
213 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
214 - xargs nitunit -v < list.txt| tee log.txt
215 - grep -e KO log.txt > status.txt || true
216 - tail -3 log.txt >> status.txt
230 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
231 - xargs nitunit -v < list.txt| tee log.txt
232 - grep -e KO log.txt > status.txt || true
233 - tail -3 log.txt >> status.txt
247 - misc/jenkins/check_contrib.sh all check
248 - grep 'error message' *.xml > status.txt || true
249 - test ! -s status.txt # no lines, no errors
259 - grep 'error message' *.xml > ../status.txt || true
260 - test ! -s ../status.txt # no lines, no errors
263 # MISC ##############################################################
280 - ./bench_engines.sh --fast --fast --html options
281 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
292 # MORE TOOLS ########################################################
300 - make -C "contrib/nitcc"
314 - nitdoc -d nitdoc.out --keep-going lib src
324 - misc/jenkins/check_contrib.sh pre-build
329 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/