26 - export CCACHE_DIR=$PWD/.ccache
27 - export GRADLE_USER_HOME=$PWD/.gradle
28 - export PATH=$PWD/bin:$PATH
32 - du -sh .gradle || true
33 - type -a nitc nitdoc || true # is there some nit tools?
37 - export CCACHE_DIR=$PWD/.ccache
39 - du -sh .gradle || true
40 - git status --ignored
44 # BASIC JOBS ########################################################
49 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
50 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
51 - misc/jenkins/checklicense.sh | tee -a status.txt
58 - misc/jenkins/check_manpages.sh
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
257 test_contribs_android:
262 - misc/jenkins/check_contrib.sh android
263 - grep 'error message' *.xml > status.txt || true
265 - find . -name '*.apk' -exec cp {} apk/ ";"
266 - test ! -s status.txt # no lines, no errors
279 - grep 'error message' *.xml > ../status.txt || true
280 - test ! -s ../status.txt # no lines, no errors
283 # MISC ##############################################################
300 - ./bench_engines.sh --fast --fast --html options
301 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
312 # MORE TOOLS ########################################################
320 - make -C "contrib/nitcc"
334 - nitdoc -d nitdoc.out --keep-going lib src
344 - misc/jenkins/check_contrib.sh pre-build
349 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/