CI: build the source package for the same MINGW_ARCH

otherwise its PATH will be empty and makepkg will complains about
missing toolchain and error out over missing strip.exe
This commit is contained in:
Christoph Reiter
2021-11-27 18:04:42 +01:00
parent ff9ee68d7e
commit df50dd21ec

View File

@@ -42,7 +42,7 @@ for package in "${packages[@]}"; do
# Ensure the toolchain is installed before building the package
execute 'Installing the toolchain' pacman -S --needed --noconfirm --noprogressbar $MINGW_PACKAGE_PREFIX-toolchain
execute 'Building binary' makepkg-mingw --noconfirm --noprogressbar --nocheck --syncdeps --rmdeps --cleanbuild
MINGW_ARCH=mingw64 execute 'Building source' makepkg-mingw --noconfirm --noprogressbar --allsource
execute 'Building source' makepkg-mingw --noconfirm --noprogressbar --allsource
echo "::endgroup::"
if [ -f $package/.ci-sequential ]; then