authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-10-01 17:18:32-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-10-01 17:18:32-07:00
logacb0a87158a4f7850605f162ae3112f084fa22ff
tree9d814f7a50d00f577157e7e93b208210e06f0e28
parent43e3734d3b0f0df0651677164601cb7a74930fcd

ci: windows: workaround for `tar` symlink behavior


1 files changed, 7 insertions(+), 2 deletions(-)

ci/azure/windows_msvc_install+7-2
......@@ -6,6 +6,11 @@ set -e
66pacman -Suy --needed --noconfirm
77pacman -S --needed --noconfirm wget p7zip python3-pip tar xz
88
9TARBALL="llvm+clang+lld-13.0.0-x86_64-windows-msvc-release-mt.tar.xz"
10
911pip install s3cmd
10wget -nv "https://ziglang.org/deps/llvm%2bclang%2blld-13.0.0-x86_64-windows-msvc-release-mt.tar.xz"
11tar xf llvm+clang+lld-13.0.0-x86_64-windows-msvc-release-mt.tar.xz
12wget -nv "https://ziglang.org/deps/$TARBALL"
13# If the first extraction fails, re-try it once without overwriting old files;
14# this can happen if the tarball contains symlinks that are in the table of contents
15# before the files that they point to.
16tar xf $TARBALL || tar xfk $TARBALL