Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ci: use a junction on Windows instead of a symlink
[gitweb.git]
/
ci
/
run-build-and-tests.sh
diff --git
a/ci/run-build-and-tests.sh
b/ci/run-build-and-tests.sh
index 80d72d120f6fa9131859ce4433562fb4ab91ef35..74d838ea01883031246cb83342c5daaa9545333a 100755
(executable)
--- a/
ci/run-build-and-tests.sh
+++ b/
ci/run-build-and-tests.sh
@@
-5,7
+5,10
@@
. ${0%/*}/lib.sh
-ln -s "$cache_dir/.prove" t/.prove
+case "$CI_OS_NAME" in
+windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";;
+*) ln -s "$cache_dir/.prove" t/.prove;;
+esac
make
make --quiet test