freeipa/ipatests/azure/templates/prepare-build-fedora.yml
Christian Heimes 644bd0e46b Make git a build requirement
FreeIPA uses git in its build process. In the past git was automatically
pulled in. On Fedora 33 builds are failing because git is missing.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-09-23 14:49:56 +02:00

25 lines
721 B
YAML

steps:
- script: |
set -e
sudo rm -rf /var/cache/dnf/*
sudo dnf makecache || :
echo "Installing base development environment"
sudo dnf install -y \
'dnf-command(builddep)' \
gdb-minimal \
make \
autoconf \
rpm-build \
gettext-devel \
git \
automake \
libtool \
docker \
python3-paramiko \
python3-pyyaml \
echo "Installing FreeIPA development dependencies"
sudo dnf builddep -y freeipa
sudo dnf builddep -y --skip-broken -D "with_wheels 1" -D "with_lint 1" -D "with_doc 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
displayName: Prepare build environment