1
0
Fork 0

ci: Use virtme-ng

virtme is now deprecated, so let's use the new generation one.

Also we don't require anymore pyelftools but we do need argcomplete

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2821
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3029>
This commit is contained in:
Marco Trevisan (Treviño) 2023-05-29 18:26:08 +02:00 committed by Marge Bot
parent 340d585f91
commit 3eabc4c707

View file

@ -69,7 +69,7 @@ variables:
- .skip-git-clone - .skip-git-clone
variables: variables:
FDO_DISTRIBUTION_VERSION: 38 FDO_DISTRIBUTION_VERSION: 38
BASE_TAG: '2023-05-29.0' BASE_TAG: '2023-05-29.2'
FDO_USER: 'meta-user' FDO_USER: 'meta-user'
FDO_DISTRIBUTION_PACKAGES: FDO_DISTRIBUTION_PACKAGES:
asciidoc asciidoc
@ -138,14 +138,15 @@ variables:
mkdir -p /opt/mutter mkdir -p /opt/mutter
cp build/src/tests/kvm/bzImage /opt/mutter/bzImage cp build/src/tests/kvm/bzImage /opt/mutter/bzImage
dnf install -y python3-pyelftools dnf install -y python3-argcomplete
git clone https://github.com/arighi/virtme.git git clone https://github.com/arighi/virtme-ng.git
cd virtme cd virtme-ng
git checkout aa99f43bd44c84dc95911ce99a8281cea5dfc5a1 git fetch --tags
git checkout upstream/1.8
./setup.py install --prefix=/usr ./setup.py install --prefix=/usr
cd .. cd ..
rm -rf virtme rm -rf virtme-ng
rm -rf build mutter-src rm -rf build mutter-src
fi fi
retry: retry: