mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
![Josh Steadmon](/assets/img/avatar_default.png)
Run unit tests in both Cirrus and GitHub CI. For sharded CI instances (currently just Windows on GitHub), run only on the first shard. This is OK while we have only a single unit test executable, but we may wish to distribute tests more evenly when we add new unit tests in the future. We may also want to add more status output in our unit test framework, so that we can do similar post-processing as in ci/lib.sh:handle_failed_tests(). Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
23 lines
544 B
YAML
23 lines
544 B
YAML
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
freebsd_12_task:
|
|
env:
|
|
GIT_PROVE_OPTS: "--timer --jobs 10"
|
|
GIT_TEST_OPTS: "--no-chain-lint --no-bin-wrappers"
|
|
MAKEFLAGS: "-j4"
|
|
DEFAULT_TEST_TARGET: prove
|
|
DEVELOPER: 1
|
|
freebsd_instance:
|
|
image_family: freebsd-12-3
|
|
memory: 2G
|
|
install_script:
|
|
pkg install -y gettext gmake perl5
|
|
create_user_script:
|
|
- pw useradd git
|
|
- chown -R git:git .
|
|
build_script:
|
|
- su git -c gmake
|
|
test_script:
|
|
- su git -c 'gmake DEFAULT_UNIT_TEST_TARGET=unit-tests-prove test unit-tests'
|