ci / run-build-and-tests.shon commit promisor-remote: use repository_format_partial_clone (faf2abf)
   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
  14make test
  15if test "$jobname" = "linux-gcc"
  16then
  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_MULTI_PACK_INDEX=1
  23        make test
  24fi
  25
  26check_unignored_build_artifacts
  27
  28save_good_tree