Fix compilation failure on windows (#10983)
* Fix compilation failure on windows * Test travis window build * more tweak trigger travis build... * Make more debug-friendly * Fix shellcheck * Revert .travis.yaml after testing on travis
This commit is contained in:
parent
f6f5842172
commit
4046f87134
|
@ -46,6 +46,15 @@ linux)
|
|||
;;
|
||||
windows)
|
||||
TARGET=x86_64-pc-windows-gnu
|
||||
# Enable symlinks used by some build.rs files
|
||||
# source: https://stackoverflow.com/a/52097145/10242004
|
||||
(
|
||||
set -x
|
||||
git --version
|
||||
git config core.symlinks true
|
||||
find . -type l -delete
|
||||
git reset --hard
|
||||
)
|
||||
;;
|
||||
*)
|
||||
echo CI_OS_NAME unset
|
||||
|
|
Loading…
Reference in New Issue