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
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 # filter what is skipped by tests.sh
102 - xargs nitpick < list.txt
104 # TEST FULL #########################################################
112 - ./testfull.sh | tee log.txt
113 - grep -v '=>' log.txt > ../status.txt || true
130 - ./testfull.sh --engine niti | tee log.txt
131 - grep -v '=>' log.txt > ../status.txt || true
148 - ./testfull.sh --engine nitcg | tee log.txt
149 - grep -v '=>' log.txt > ../status.txt || true
166 - ./testfull.sh --engine nitce | tee log.txt
167 - grep -v '=>' log.txt > ../status.txt || true
184 - ./testfull.sh --engine nitcsg | tee log.txt
185 - grep -v '=>' log.txt > ../status.txt || true
196 # LIB, CONTRIB AND OOT ##############################################
203 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
204 - xargs nitunit -v < list.txt| tee log.txt
205 - grep -e KO log.txt > status.txt || true
206 - tail -3 log.txt >> status.txt
220 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
221 - xargs nitunit -v < list.txt| tee log.txt
222 - grep -e KO log.txt > status.txt || true
223 - tail -3 log.txt >> status.txt
237 - misc/jenkins/check_contrib.sh all check
238 - grep 'error message' *.xml > status.txt || true
239 - test ! -s status.txt # no lines, no errors
249 - grep 'error message' *.xml > ../status.txt || true
250 - test ! -s ../status.txt # no lines, no errors
253 # MISC ##############################################################
270 - ./bench_engines.sh --fast --fast --html options
271 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
282 # MORE TOOLS ########################################################
290 - make -C "contrib/nitcc"
304 - nitdoc -d nitdoc.out --keep-going lib src
314 - misc/jenkins/check_contrib.sh pre-build
319 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/