Skip to content

Commit

Permalink
xDont go quiet for main compiler install
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 23, 2023
1 parent 4abf7b5 commit ddd9cac
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions .github/workflows/bootstrap-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,48 +82,65 @@ case "${1}" in
exec /usr/bin/sudo $0 "$@"
fi

echo "pawpaw debug 01"
apt-get update -qq
apt-get install -yqq autoconf automake build-essential curl cmake file git jq libglib2.0-dev-bin libtool lsb-release make meson gperf patchelf pkg-config uuid-dev zlib1g-dev
echo "pawpaw debug 02"

linux_arch=$(get_linux_deb_arch "${1}")
release=$(lsb_release -cs 2>/dev/null)
echo "pawpaw debug 03"

if [ -n "${linux_arch}" ]; then
echo "pawpaw debug 04"
if [ "$(lsb_release -si 2>/dev/null)" = "Ubuntu" ]; then
echo "pawpaw debug 05"
sed -i "s/deb http/deb [arch=i386,amd64] http/" /etc/apt/sources.list
sed -i "s/deb mirror/deb [arch=i386,amd64] mirror/" /etc/apt/sources.list
echo "pawpaw debug 06"
if [ "${linux_arch}" != "amd64" ] && [ "${linux_arch}" != "i386" ]; then
echo "pawpaw debug 07"
echo "deb [arch=${linux_arch}] http://ports.ubuntu.com/ubuntu-ports ${release} main restricted universe multiverse" | tee -a /etc/apt/sources.list
echo "deb [arch=${linux_arch}] http://ports.ubuntu.com/ubuntu-ports ${release}-updates main restricted universe multiverse" | tee -a /etc/apt/sources.list
echo "deb [arch=${linux_arch}] http://ports.ubuntu.com/ubuntu-ports ${release}-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list
fi
if [ -n "${GITHUB_ENV}" ] && [ "${release}" = "bionic" ]; then
echo "pawpaw debug 08"
apt-get install -yqq --no-install-recommends software-properties-common
add-apt-repository -yn ppa:ubuntu-toolchain-r/test
fi
fi
echo "pawpaw debug 09"
dpkg --add-architecture ${linux_arch}
echo "pawpaw debug a1"
apt-get update -qq
apt-get install -yqq \
echo "pawpaw debug a2b"
apt-get install -y --allow-downgrades \
binfmt-support \
qemu-user-static \
qtbase5-dev-tools \
x11proto-dev x11proto-render-dev \
libasound2-dev:${linux_arch} \
libdbus-1-dev:${linux_arch} \
libgl1-mesa-dev:${linux_arch} \
libglib2.0-dev:${linux_arch} \
libpcre2-dev:${linux_arch} \
libpcre3-dev:${linux_arch} \
libqt5svg5-dev:${linux_arch} \
libvulkan-dev:${linux_arch} \
libx11-dev:${linux_arch} \
libxcb1-dev:${linux_arch} \
libxcursor-dev:${linux_arch} \
libxext-dev:${linux_arch} \
libxfixes-dev:${linux_arch} \
libxrandr-dev:${linux_arch} \
libxrender-dev:${linux_arch} \
qtbase5-dev:${linux_arch} \
uuid-dev:${linux_arch}

apt-get install -y --allow-downgrades \
qtbase5-dev-tools \
libqt5svg5-dev:${linux_arch} \
qtbase5-dev:${linux_arch}

echo "pawpaw debug a3"
elif [ "${1}" = "win32" ] || [ "${1}" = "win64" ]; then
dpkg --add-architecture i386
apt-get update -qq
Expand All @@ -137,14 +154,22 @@ case "${1}" in

case "${release}" in
"bionic"|"bullseye"|"focal")
echo "pawpaw debug b1"
apt-get install -yqq --no-install-recommends python3-pip
echo "pawpaw debug b2"
pip3 install --isolated --upgrade --no-cache-dir --force-reinstall pip
echo "pawpaw debug b3"
pip3 install --isolated --upgrade --no-cache-dir --force-reinstall cmake meson
echo "pawpaw debug b4"
;;
esac

echo "pawpaw debug 11"
install_compiler "${1}" "${release}"
echo "pawpaw debug 12"

[ -n "${GITHUB_ENV}" ] && echo "PAWPAW_PACK_NAME=${1}-${release}" >> "${GITHUB_ENV}"

echo "pawpaw debug 14"
;;
esac

0 comments on commit ddd9cac

Please sign in to comment.