Skip to content

Commit

Permalink
ci: enable build with amdgpu plugin
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rst0git committed Sep 30, 2023
1 parent 5de9040 commit 8f10c9e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/build/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apk update && apk add \
python3 \
sudo \
libcap-utils \
libdrm-dev \
util-linux

COPY . /criu
Expand Down
1 change: 1 addition & 0 deletions scripts/build/Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN pacman -Syu --noconfirm \
asciidoctor \
python-junit-xml \
python-importlib-metadata \
libdrm \
diffutils

COPY . /criu
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/prepare-for-fedora-rawhide.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion scripts/ci/run-ci-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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

0 comments on commit 8f10c9e

Please sign in to comment.