ci: speed up Windows phase
As Unix shell scripting comes at a hefty price on Windows, we have to see where we can save some time to run the test suite. Let's skip the chain linting and the bin-wrappers/ redirection on Windows; this seems to shave of anywhere between 10-30% from the overall runtime. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Jan 29, 2019 at 06:19 UTC
a87e427e35fc79677dd85d591a7b37fb2539189a
1 file changed
+2
ci/lib.sh
+2
@@ -127,6 +127,8 @@ then
127
export GIT_PROVE_OPTS="--timer --jobs 10 --state=failed,slow,save"
128
export GIT_TEST_OPTS="--verbose-log -x --write-junit-xml"
129
export MAKEFLAGS="--jobs=10"
130
+ test windows_nt != "$CI_OS_NAME" ||
131
+ GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"
132
else
133
echo "Could not identify CI type" >&2
134
exit 1