File tree Expand file tree Collapse file tree 4 files changed +59
-3
lines changed Expand file tree Collapse file tree 4 files changed +59
-3
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-20.04
8
8
strategy :
9
9
matrix :
10
- target : [centos7]
10
+ target : [centos7, centos8 ]
11
11
12
12
steps :
13
13
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change
1
+ FROM registry.centos.org/centos/centos:8
2
+
3
+ ARG CC=gcc
4
+ ARG ENV1=FOOBAR
5
+
6
+ RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core
7
+ RUN yum config-manager --set-enabled PowerTools
8
+ RUN yum install -y --allowerasing \
9
+ asciidoc \
10
+ ccache \
11
+ coreutils \
12
+ chkconfig \
13
+ diffutils \
14
+ findutils \
15
+ gcc \
16
+ git \
17
+ gnutls-devel \
18
+ iproute \
19
+ iptables \
20
+ libaio-devel \
21
+ libasan \
22
+ libcap-devel \
23
+ libnet-devel \
24
+ libnl3-devel \
25
+ libselinux-devel \
26
+ make \
27
+ procps-ng \
28
+ protobuf-c-devel \
29
+ protobuf-devel \
30
+ python3-devel \
31
+ python3-flake8 \
32
+ python3-PyYAML \
33
+ python3-future \
34
+ python3-protobuf \
35
+ python3-pip \
36
+ sudo \
37
+ tar \
38
+ which \
39
+ xmlto
40
+
41
+ RUN alternatives --set python /usr/bin/python3
42
+ ENV PYTHON=python3
43
+
44
+ COPY . /criu
45
+ WORKDIR /criu
46
+
47
+ ENV CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
48
+ RUN mv .ccache /tmp && make mrproper && ccache -sz && \
49
+ date && make -j $(nproc) CC="$CC" && date && ccache -s
50
+
51
+ # The rpc test cases are running as user #1000, let's add the user
52
+ RUN adduser -u 1000 test
53
+
54
+ RUN pip3 install junit_xml
55
+
56
+ RUN make -C test/zdtm -j $(nproc)
Original file line number Diff line number Diff line change 1
- ARCHES := x86_64 fedora-asan fedora-rawhide centos7 armv7hf
1
+ ARCHES := x86_64 fedora-asan fedora-rawhide centos7 armv7hf centos8
2
2
TARGETS := $(ARCHES ) alpine
3
3
TARGETS_CLANG := $(addsuffix $(TARGETS ) ,-clang)
4
4
CONTAINER_RUNTIME := docker
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ifdef CLANG
11
11
target-suffix = -clang
12
12
endif
13
13
14
- TARGETS := alpine fedora-rawhide centos7
14
+ TARGETS := alpine fedora-rawhide centos7 centos8
15
15
ZDTM_OPTIONS :=
16
16
UNAME := $(shell uname -m)
17
17
You can’t perform that action at this time.
0 commit comments