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