18 - export CCACHE_DIR=$PWD/.ccache
19 - export GRADLE_USER_HOME=$PWD/.gradle
20 - export PATH=$PWD/bin:$PATH
24 - du -sh .gradle || true
25 - type -a nitc nitdoc || true # is there some nit tools?
29 - export CCACHE_DIR=$PWD/.ccache
31 - du -sh .gradle || true
32 - git status --ignored
36 # BASIC JOBS ########################################################
41 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
42 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
43 - misc/jenkins/checklicense.sh | tee -a status.txt
50 - misc/jenkins/check_manpages.sh
51 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
73 - ./search_tests_git.sh origin/master HEAD > list
74 - ./testall.sh `cat list` | tee log.txt
75 - grep -v '=>' log.txt > ../status.txt || true
89 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt || true
90 - xargs nitls -pP < list0.txt > list.txt
91 - xargs nitunit < list.txt
105 - nitls lib src examples contrib
106 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
107 - xargs nitpick < list.txt
114 - make -C contrib/asteronits android
117 - contrib/asteronits/bin/*.apk
119 # TEST FULL #########################################################
127 - ./testfull.sh | tee log.txt
128 - grep -v '=>' log.txt > ../status.txt || true
145 - ./testfull.sh --engine niti | tee log.txt
146 - grep -v '=>' log.txt > ../status.txt || true
163 - ./testfull.sh --engine nitcg | tee log.txt
164 - grep -v '=>' log.txt > ../status.txt || true
181 - ./testfull.sh --engine nitce | tee log.txt
182 - grep -v '=>' log.txt > ../status.txt || true
199 - ./testfull.sh --engine nitcsg | tee log.txt
200 - grep -v '=>' log.txt > ../status.txt || true
211 # LIB, CONTRIB AND OOT ##############################################
218 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
219 - xargs nitunit -v < list.txt| tee log.txt
220 - grep -e KO log.txt > status.txt || true
221 - tail -3 log.txt >> status.txt
235 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
236 - xargs nitunit -v < list.txt| tee log.txt
237 - grep -e KO log.txt > status.txt || true
238 - tail -3 log.txt >> status.txt
252 - misc/jenkins/check_contrib.sh all check
253 - grep 'error message' *.xml > status.txt || true
254 - test ! -s status.txt # no lines, no errors
264 - grep 'error message' *.xml > ../status.txt || true
265 - test ! -s ../status.txt # no lines, no errors
268 # MISC ##############################################################
285 - ./bench_engines.sh --fast --fast --html options
286 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
297 # MORE TOOLS ########################################################
305 - make -C "contrib/nitcc"
319 - nitdoc -d nitdoc.out --keep-going lib src
329 - misc/jenkins/check_contrib.sh pre-build
334 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/