19 - export CCACHE_DIR=$PWD/.ccache
20 - export PATH=$PWD/bin:$PATH
24 - type -a nitc nitdoc || true # is there some nit tools?
28 - export CCACHE_DIR=$PWD/.ccache
30 - git status --ignored
34 # BASIC JOBS ########################################################
39 - misc/jenkins/checkwhitespaces.sh | tee -a status.txt
40 - misc/jenkins/checksignedoffby.sh | tee -a status.txt
41 - misc/jenkins/checklicense.sh | tee -a status.txt
48 - misc/jenkins/check_manpages.sh
49 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
71 - ./search_tests_git.sh origin/master HEAD > list
72 - ./testall.sh `cat list` | tee log.txt
73 - grep -v '=>' log.txt > ../status.txt || true
87 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt
88 - xargs nitls -pP < list0.txt > list.txt
89 - xargs nitunit < list.txt
103 - nitls lib src examples contrib
104 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
105 - xargs nitpick < list.txt
107 # TEST FULL #########################################################
115 - ./testfull.sh | tee log.txt
116 - grep -v '=>' log.txt > ../status.txt || true
133 - ./testfull.sh --engine niti | tee log.txt
134 - grep -v '=>' log.txt > ../status.txt || true
151 - ./testfull.sh --engine nitcg | tee log.txt
152 - grep -v '=>' log.txt > ../status.txt || true
169 - ./testfull.sh --engine nitce | tee log.txt
170 - grep -v '=>' log.txt > ../status.txt || true
187 - ./testfull.sh --engine nitcsg | tee log.txt
188 - grep -v '=>' log.txt > ../status.txt || true
199 # LIB, CONTRIB AND OOT ##############################################
206 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
207 - xargs nitunit -v < list.txt| tee log.txt
208 - grep -e KO log.txt > status.txt || true
209 - tail -3 log.txt >> status.txt
223 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt # filter what is skipped by tests.sh
224 - xargs nitunit -v < list.txt| tee log.txt
225 - grep -e KO log.txt > status.txt || true
226 - tail -3 log.txt >> status.txt
240 - misc/jenkins/check_contrib.sh all check
241 - grep 'error message' *.xml > status.txt || true
242 - test ! -s status.txt # no lines, no errors
252 - grep 'error message' *.xml > ../status.txt || true
253 - test ! -s ../status.txt # no lines, no errors
256 # MISC ##############################################################
273 - ./bench_engines.sh --fast --fast --html options
274 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
285 # MORE TOOLS ########################################################
293 - make -C "contrib/nitcc"
307 - nitdoc -d nitdoc.out --keep-going lib src
317 - misc/jenkins/check_contrib.sh pre-build
322 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/