24 - export CCACHE_DIR=$PWD/.ccache
25 - export PATH=$PWD/bin:$PATH
29 - type -a nitc nitdoc || true # is there some nit tools?
33 - export CCACHE_DIR=$PWD/.ccache
35 - git status --ignored
39 # BASIC JOBS ########################################################
44 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
45 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
46 - misc/jenkins/checklicense.sh | tee -a status.txt
53 - misc/jenkins/check_manpages.sh
54 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
76 - ./search_tests_git.sh origin/master HEAD > list
77 - ./testall.sh `cat list` | tee log.txt
78 - grep -v '=>' log.txt > ../status.txt || true
92 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt
93 - xargs nitls -pP < list0.txt > list.txt
94 - xargs nitunit < list.txt
108 - nitls lib src examples contrib
109 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
110 - xargs nitpick < list.txt
112 # TEST FULL #########################################################
120 - ./testfull.sh | tee log.txt
121 - grep -v '=>' log.txt > ../status.txt || true
138 - ./testfull.sh --engine niti | tee log.txt
139 - grep -v '=>' log.txt > ../status.txt || true
156 - ./testfull.sh --engine nitcg | tee log.txt
157 - grep -v '=>' log.txt > ../status.txt || true
174 - ./testfull.sh --engine nitce | tee log.txt
175 - grep -v '=>' log.txt > ../status.txt || true
192 - ./testfull.sh --engine nitcsg | tee log.txt
193 - grep -v '=>' log.txt > ../status.txt || true
204 # LIB, CONTRIB AND OOT ##############################################
211 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
212 - xargs nitunit -v < list.txt| tee log.txt
213 - grep -e KO log.txt > status.txt || true
214 - tail -3 log.txt >> status.txt
228 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
229 - xargs nitunit -v < list.txt| tee log.txt
230 - grep -e KO log.txt > status.txt || true
231 - tail -3 log.txt >> status.txt
245 - misc/jenkins/check_contrib.sh all check
246 - grep 'error message' *.xml > status.txt || true
247 - test ! -s status.txt # no lines, no errors
257 - grep 'error message' *.xml > ../status.txt || true
258 - test ! -s ../status.txt # no lines, no errors
261 # MISC ##############################################################
278 - ./bench_engines.sh --fast --fast --html options
279 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
290 # MORE TOOLS ########################################################
298 - make -C "contrib/nitcc"
312 - nitdoc -d nitdoc.out --keep-going lib src
322 - misc/jenkins/check_contrib.sh pre-build
327 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/