add -i: default to the built-in implementation
[git/debian.git] / ci / run-build-and-tests.sh
blob660ebe8d1081edd37384760d707e2167a808e172
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 if test "$jobname" = "pedantic"
14 then
15 export DEVOPTS=pedantic
18 make
19 case "$jobname" in
20 linux-gcc)
21 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
22 make test
23 export GIT_TEST_SPLIT_INDEX=yes
24 export GIT_TEST_MERGE_ALGORITHM=recursive
25 export GIT_TEST_FULL_IN_PACK_ARRAY=true
26 export GIT_TEST_OE_SIZE=10
27 export GIT_TEST_OE_DELTA_SIZE=5
28 export GIT_TEST_COMMIT_GRAPH=1
29 export GIT_TEST_COMMIT_GRAPH_CHANGED_PATHS=1
30 export GIT_TEST_MULTI_PACK_INDEX=1
31 export GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP=1
32 export GIT_TEST_ADD_I_USE_BUILTIN=0
33 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
34 export GIT_TEST_WRITE_REV_INDEX=1
35 export GIT_TEST_CHECKOUT_WORKERS=2
36 make test
38 linux-clang)
39 export GIT_TEST_DEFAULT_HASH=sha1
40 make test
41 export GIT_TEST_DEFAULT_HASH=sha256
42 make test
44 linux-gcc-4.8|pedantic)
45 # Don't run the tests; we only care about whether Git can be
46 # built with GCC 4.8 or with pedantic
49 make test
51 esac
53 check_unignored_build_artifacts
55 save_good_tree