Merge branch 'ds/sparse-updates-oob-access-fix'
[git.git] / ci / run-build-and-tests.sh
blob17e25aade96f46ecfcdf1b5658d788f23b99f587
1 #!/bin/sh
3 # Build and test Git
6 . ${0%/*}/lib.sh
8 case "$CI_OS_NAME" in
9 windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";;
10 *) ln -s "$cache_dir/.prove" t/.prove;;
11 esac
13 make
14 case "$jobname" in
15 linux-gcc)
16 make test
17 export GIT_TEST_SPLIT_INDEX=yes
18 export GIT_TEST_FULL_IN_PACK_ARRAY=true
19 export GIT_TEST_OE_SIZE=10
20 export GIT_TEST_OE_DELTA_SIZE=5
21 export GIT_TEST_COMMIT_GRAPH=1
22 export GIT_TEST_COMMIT_GRAPH_CHANGED_PATHS=1
23 export GIT_TEST_MULTI_PACK_INDEX=1
24 export GIT_TEST_ADD_I_USE_BUILTIN=1
25 make test
27 linux-gcc-4.8)
28 # Don't run the tests; we only care about whether Git can be
29 # built with GCC 4.8, as it errors out on some undesired (C99)
30 # constructs that newer compilers seem to quietly accept.
33 make test
35 esac
37 check_unignored_build_artifacts
39 save_good_tree