From 4046f87134537ed07206eb3445f8fe5f71c13061 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Sat, 11 Jul 2020 13:35:46 +0900 Subject: [PATCH] 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 --- ci/publish-tarball.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/publish-tarball.sh b/ci/publish-tarball.sh index b5afe350a3..ef58e72610 100755 --- a/ci/publish-tarball.sh +++ b/ci/publish-tarball.sh @@ -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