20 - export CCACHE_DIR=$PWD/.ccache
21 - export PATH=$PWD/bin:$PATH
25 - type -a nitc nitdoc || true # is there some nit tools?
29 - export CCACHE_DIR=$PWD/.ccache
31 - git status --ignored
35 # BASIC JOBS ########################################################
40 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
41 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
42 - misc/jenkins/checklicense.sh | tee -a status.txt
49 - misc/jenkins/check_manpages.sh
50 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
72 - ./search_tests_git.sh origin/master HEAD > list
73 - ./testall.sh `cat list` | tee log.txt
74 - grep -v '=>' log.txt > ../status.txt || true
88 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt
89 - xargs nitls -pP < list0.txt > list.txt
90 - xargs nitunit < list.txt
104 - nitls lib src examples contrib
105 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
106 - xargs nitpick < list.txt
108 # TEST FULL #########################################################
116 - ./testfull.sh | tee log.txt
117 - grep -v '=>' log.txt > ../status.txt || true
134 - ./testfull.sh --engine niti | tee log.txt
135 - grep -v '=>' log.txt > ../status.txt || true
152 - ./testfull.sh --engine nitcg | tee log.txt
153 - grep -v '=>' log.txt > ../status.txt || true
170 - ./testfull.sh --engine nitce | tee log.txt
171 - grep -v '=>' log.txt > ../status.txt || true
188 - ./testfull.sh --engine nitcsg | tee log.txt
189 - grep -v '=>' log.txt > ../status.txt || true
200 # LIB, CONTRIB AND OOT ##############################################
207 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
208 - xargs nitunit -v < list.txt| tee log.txt
209 - grep -e KO log.txt > status.txt || true
210 - tail -3 log.txt >> status.txt
224 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
225 - xargs nitunit -v < list.txt| tee log.txt
226 - grep -e KO log.txt > status.txt || true
227 - tail -3 log.txt >> status.txt
241 - misc/jenkins/check_contrib.sh all check
242 - grep 'error message' *.xml > status.txt || true
243 - test ! -s status.txt # no lines, no errors
253 - grep 'error message' *.xml > ../status.txt || true
254 - test ! -s ../status.txt # no lines, no errors
257 # MISC ##############################################################
274 - ./bench_engines.sh --fast --fast --html options
275 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
286 # MORE TOOLS ########################################################
294 - make -C "contrib/nitcc"
308 - nitdoc -d nitdoc.out --keep-going lib src
318 - misc/jenkins/check_contrib.sh pre-build
323 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/