Skip to content

Commit e28f2cc

Browse files
committed
cirrus-ci: add tests for almalinux 8
The CI tests for CentOS 8 have been removed as it is EOL. This patch adds AlmaLinux task in Cirrus-CI as a replacement for these tests to build and test CRIU in RHEL 8–compatible environment. Suggested-by: Adrian Reber <areber@redhat.com> Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
1 parent e1f91ff commit e28f2cc

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.cirrus.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@ task:
4848
build_script: |
4949
make -C scripts/ci local SKIP_CI_PREP=1 CC=gcc CD_TO_TOP=1 ZDTM_OPTS="-x zdtm/static/socket-raw"
5050
51+
task:
52+
name: AlmaLinux 8
53+
environment:
54+
HOME: "/root"
55+
CIRRUS_WORKING_DIR: "/tmp/criu"
56+
57+
compute_engine_instance:
58+
image_project: almalinux-cloud
59+
image: family/almalinux-8
60+
platform: linux
61+
cpu: 4
62+
memory: 8G
63+
64+
setup_script: |
65+
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core
66+
yum config-manager --set-enabled powertools
67+
contrib/dependencies/yum-packages.sh
68+
setenforce 0
69+
70+
build_script: |
71+
make -j $(nproc) CC=gcc
72+
make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 CD_TO_TOP=1 ZDTM_OPTS="-x zdtm/static/socket-raw"
73+
5174
task:
5275
name: Vagrant Fedora Rawhide
5376
environment:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env sh
2+
3+
yum install -y --allowerasing \
4+
asciidoc \
5+
chkconfig \
6+
coreutils \
7+
diffutils \
8+
findutils \
9+
gcc \
10+
git \
11+
gnutls-devel \
12+
iproute \
13+
iptables \
14+
libaio-devel \
15+
libasan \
16+
libcap-devel \
17+
libnet-devel \
18+
libnl3-devel \
19+
libselinux-devel \
20+
libuuid-devel \
21+
make \
22+
procps-ng \
23+
protobuf-c-devel \
24+
protobuf-devel \
25+
python3-devel \
26+
python3-importlib-metadata \
27+
python3-pip \
28+
python3-protobuf \
29+
python3-PyYAML \
30+
sudo \
31+
tar \
32+
which \
33+
xmlto

0 commit comments

Comments
 (0)