mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
alpine: compile all tests
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
@@ -20,8 +20,8 @@ RUN apk update && apk add \
|
||||
COPY . /criu
|
||||
WORKDIR /criu
|
||||
ENV CC="ccache $CC" CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
|
||||
RUN mv .ccache /tmp && make mrproper && ccache -s && \
|
||||
date && make -j $(nproc) CC="$CC" && date
|
||||
RUN mv .ccache /tmp && make mrproper && ccache -s && ccache -z &&\
|
||||
date && make -j $(nproc) CC="$CC" && date && ccache -s
|
||||
|
||||
# Run a test
|
||||
RUN apk add py-yaml \
|
||||
@@ -29,5 +29,8 @@ RUN apk add py-yaml \
|
||||
ip6tables \
|
||||
iptables \
|
||||
iproute2 \
|
||||
&& pip install protobuf \
|
||||
&& make -C test/zdtm/static env00
|
||||
tar \
|
||||
bash
|
||||
|
||||
RUN pip install protobuf ipaddr
|
||||
RUN make -C test/zdtm
|
||||
|
Reference in New Issue
Block a user