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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user