mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-04 05:17:44 +03:00
f666425950
* Switch to using libvirt+minimal instead of libvirt project, for shorter build times * Actually do a git build job in CentOS Stream & AlmaLinux * Drop AlmaLinux 8 * Update to latest Alpine versions Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool manifest ci/manifest.yml
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
function install_buildenv() {
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update
|
|
apt-get dist-upgrade -y
|
|
apt-get install --no-install-recommends -y \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
icoutils \
|
|
libc6-dev \
|
|
libglib2.0-dev \
|
|
libgovirt-dev \
|
|
libgtk-3-dev \
|
|
libgtk-vnc-2.0-dev \
|
|
librest-dev \
|
|
libspice-client-gtk-3.0-dev \
|
|
libtool \
|
|
libtool-bin \
|
|
libvirt-dev \
|
|
libvirt-glib-1.0-dev \
|
|
libvte-2.91-dev \
|
|
libxml2-dev \
|
|
libxml2-utils \
|
|
locales \
|
|
make \
|
|
meson \
|
|
ninja-build \
|
|
pkgconf
|
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen
|
|
dpkg-reconfigure locales
|
|
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt
|
|
mkdir -p /usr/libexec/ccache-wrappers
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
|
}
|
|
function export_buildenv() {
|
|
|
|
export CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
|
|
export LANG="en_US.UTF-8"
|
|
export MAKE="/usr/bin/make"
|
|
export NINJA="/usr/bin/ninja"
|
|
}
|