ci: enable build with amdgpu plugin

This patch adds the `libdrm-dev` package to the list of CRIU
dependencies installed in CI to build CRIU with amdgpu plugin.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2023-09-30 02:56:52 +01:00 committed by Andrei Vagin
parent aa38a59899
commit ba168ab78c
6 changed files with 12 additions and 4 deletions

View file

@ -23,6 +23,7 @@ RUN apk update && apk add \
python3 \
sudo \
libcap-utils \
libdrm-dev \
util-linux
COPY . /criu

View file

@ -35,6 +35,7 @@ RUN pacman -Syu --noconfirm \
asciidoctor \
python-junit-xml \
python-importlib-metadata \
libdrm \
diffutils
COPY . /criu

View file

@ -35,6 +35,7 @@ dnf install -y \
which \
e2fsprogs \
rubygem-asciidoctor \
libdrm-devel \
kmod
# /tmp is no longer 755 in the rawhide container image and breaks CI - fix it

View file

@ -6,7 +6,7 @@ CI_PKGS=(protobuf-c-compiler libprotobuf-c-dev libaio-dev libgnutls28-dev
libnl-3-dev gdb bash libnet-dev util-linux asciidoctor
libnl-route-3-dev time flake8 libbsd-dev python3-yaml
libperl-dev pkg-config python3-protobuf python3-pip
python3-importlib-metadata python3-junit.xml)
python3-importlib-metadata python3-junit.xml libdrm-dev)
X86_64_PKGS=(gcc-multilib)
@ -326,3 +326,8 @@ make -C test/others/action-script run
# compel testing
make -C compel/test
# amdgpu_plugin testing
make amdgpu_plugin
make -C plugins/amdgpu/ test_topology_remap
./plugins/amdgpu/test_topology_remap