ci: fedora: Install virtme-ng and fluster

Also install extra packages:
  - busybox
  - iproute
  - qemu-system-x86

These are necessary for virtme to run a script in the virtual machine.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5434>
This commit is contained in:
Detlev Casanova 2023-09-29 09:22:02 -04:00
parent 1e2c435d6c
commit d005079ec4
2 changed files with 22 additions and 2 deletions

View file

@ -5,7 +5,7 @@ variables:
# If you are hacking on them or need a them to rebuild, its enough # If you are hacking on them or need a them to rebuild, its enough
# to change any part of the string of the image you want. # to change any part of the string of the image you want.
### ###
FEDORA_TAG: '2023-10-22.1' FEDORA_TAG: '2023-10-25'
INDENT_TAG: '2023-08-24.3' INDENT_TAG: '2023-08-24.3'

View file

@ -25,6 +25,7 @@ dnf install -y \
aalib-devel \ aalib-devel \
aom \ aom \
bat \ bat \
busybox \
intel-mediasdk-devel \ intel-mediasdk-devel \
libaom \ libaom \
libaom-devel \ libaom-devel \
@ -62,6 +63,7 @@ dnf install -y \
gupnp-igd-devel \ gupnp-igd-devel \
gssdp \ gssdp \
gssdp-devel \ gssdp-devel \
iproute \
faac-devel \ faac-devel \
ffmpeg \ ffmpeg \
ffmpeg-libs \ ffmpeg-libs \
@ -111,6 +113,7 @@ dnf install -y \
opencv-devel \ opencv-devel \
openjpeg2 \ openjpeg2 \
openjpeg2-devel \ openjpeg2-devel \
qemu-system-x86 \
SDL2 \ SDL2 \
SDL2-devel \ SDL2-devel \
sbc \ sbc \
@ -236,7 +239,7 @@ dnf builddep -y gstreamer1 \
python3-gstreamer1 python3-gstreamer1
dnf remove -y meson -x ninja-build dnf remove -y meson -x ninja-build
pip3 install meson==1.2.3 hotdoc==0.15 python-gitlab tomli pip3 install meson==1.2.3 hotdoc==0.15 python-gitlab tomli junitparser
# Remove gst-devel packages installed by builddep above # Remove gst-devel packages installed by builddep above
dnf remove -y "gstreamer1*devel" dnf remove -y "gstreamer1*devel"
@ -283,6 +286,23 @@ rustup --version
cargo --version cargo --version
rustc --version rustc --version
# Install virtme-ng
git clone https://github.com/arighi/virtme-ng.git
pushd virtme-ng
git fetch --tags
git checkout v1.8
./setup.py install --prefix=/usr
popd
# Install fluster
pushd /opt/
git clone https://github.com/fluendo/fluster.git
pushd fluster
git checkout 303a6edfda1701c8bc351909fb1173a0958810c2
./fluster.py download
popd
popd
# get gstreamer and make all subprojects available # get gstreamer and make all subprojects available
git clone -b ${GIT_BRANCH} ${GIT_URL} /gstreamer git clone -b ${GIT_BRANCH} ${GIT_URL} /gstreamer
git -C /gstreamer submodule update --init --depth=1 git -C /gstreamer submodule update --init --depth=1