From 541f64a647587f85373b197609a1f768ea1c847b Mon Sep 17 00:00:00 2001 From: eine Date: Wed, 22 Jul 2020 02:37:10 +0200 Subject: ci(msys2): eine/setup-msys2 was transferred to msys2/setup-msys2, bump to v2 --- dist/msys2-mingw/run.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'dist/msys2-mingw') diff --git a/dist/msys2-mingw/run.sh b/dist/msys2-mingw/run.sh index 55aff45c4..186520b05 100644 --- a/dist/msys2-mingw/run.sh +++ b/dist/msys2-mingw/run.sh @@ -72,13 +72,11 @@ cd "$TARGET" # But the following command fails if the repository is complete. gblock "Fetch --unshallow" git fetch --unshallow || true -MINGW_INSTALLS="$(echo "$MINGW_INSTALLS" | tr '[:upper:]' '[:lower:]')" - case "$MINGW_INSTALLS" in - mingw32) + *32) TARBALL_ARCH="i686" ;; - mingw64) + *64) TARBALL_ARCH="x86_64" ;; *) @@ -86,7 +84,7 @@ case "$MINGW_INSTALLS" in exit 1 esac -gblock 'Install toolchain' pacman -S --noconfirm base-devel mingw-w64-${TARBALL_ARCH}-toolchain +gblock 'Install toolchain' pacman -S --noconfirm --needed base-devel mingw-w64-${TARBALL_ARCH}-toolchain gblock 'Build package' makepkg-mingw --noconfirm --noprogressbar -sCLf --noarchive gblock 'Archive package' makepkg-mingw --noconfirm --noprogressbar -R gblock 'List artifacts' ls -la -- cgit v1.2.3