]>
git.proxmox.com Git - libgit2.git/blob - ci/setup-mingw.sh
f5a882d2bdfbe053341136a14db9837693200220
3 echo "##############################################################################"
4 echo "## Downloading mingw"
5 echo "##############################################################################"
7 BUILD_TEMP
=${BUILD_TEMP:=$TEMP}
8 BUILD_TEMP
=$
(cygpath
$BUILD_TEMP)
12 MINGW_URI
="https://github.com/libgit2/ci-dependencies/releases/download/2021-05-04/mingw-x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
14 MINGW_URI
="https://github.com/libgit2/ci-dependencies/releases/download/2021-05-04/mingw-i686-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
17 if [ -z "$MINGW_URI" ]; then
22 mkdir
-p "$BUILD_TEMP"
24 curl
-s -L "$MINGW_URI" -o "$BUILD_TEMP"/mingw-
"$ARCH".
zip
25 unzip -q "$BUILD_TEMP"/mingw-
"$ARCH".
zip -d "$BUILD_TEMP"