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
59 - "{ cd tests && ./tests.sh base_sim*.nit ../src/nitlight.nit; }"
81 - ./search_tests_git.sh origin/master HEAD > list
82 - ./testall.sh `cat list` | tee log.txt
83 - grep -v '=>' log.txt > ../status.txt || true
97 - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt || true
98 - xargs nitls -pP < list0.txt > list.txt
99 - xargs nitunit < list.txt
113 - nitls lib src examples contrib
114 - nitls -Pp lib src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
115 - xargs nitpick < list.txt
122 - make -C contrib/asteronits android
125 - contrib/asteronits/bin/*.apk
127 # TEST FULL #########################################################
135 - ./testfull.sh | tee log.txt
136 - grep -v '=>' log.txt > ../status.txt || true
153 - ./testfull.sh --engine niti | tee log.txt
154 - grep -v '=>' log.txt > ../status.txt || true
171 - ./testfull.sh --engine nitcg | tee log.txt
172 - grep -v '=>' log.txt > ../status.txt || true
189 - ./testfull.sh --engine nitce | tee log.txt
190 - grep -v '=>' log.txt > ../status.txt || true
207 - ./testfull.sh --engine nitcsg | tee log.txt
208 - grep -v '=>' log.txt > ../status.txt || true
219 # LIB, CONTRIB AND OOT ##############################################
226 - nitls -Pp lib | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
227 - xargs nitunit -v < list.txt| tee log.txt
228 - grep -e KO log.txt > status.txt || true
229 - tail -3 log.txt >> status.txt
243 - nitls -Pp src examples | grep -v -f tests/gitlab_ci.skip > list.txt || true # filter what is skipped by tests.sh
244 - xargs nitunit -v < list.txt| tee log.txt
245 - grep -e KO log.txt > status.txt || true
246 - tail -3 log.txt >> status.txt
260 - misc/jenkins/check_contrib.sh all check
261 - grep 'error message' *.xml > status.txt || true
262 - test ! -s status.txt # no lines, no errors
265 test_contribs_android:
270 - misc/jenkins/check_contrib.sh android
271 - grep 'error message' *.xml > status.txt || true
273 - find . -name '*.apk' -exec cp {} apk/ ";"
274 - test ! -s status.txt # no lines, no errors
287 - grep 'error message' *.xml > ../status.txt || true
288 - test ! -s ../status.txt # no lines, no errors
291 # MISC ##############################################################
308 - ./bench_engines.sh --fast --fast --html options
309 - grep -B1 'error message' *.xml | grep testcase > ../status.txt || true
320 # MORE TOOLS ########################################################
328 - make -C "contrib/nitcc"
342 - nitdoc -d nitdoc.out --keep-going lib src
352 - misc/jenkins/check_contrib.sh pre-build
357 - nitcatalog -d catalog.out lib/ examples/ contrib/ contrib/oot/