Verified Commit ac53b925 authored by Karel Koci's avatar Karel Koci 🤘

Don't compile openssl in CI

On debian there are well defined valgrind ignores. This means that we
can say that openssl is pure and we don't need our own version.
Also add static analyzers to CI.
parent 1f58ffa4
Pipeline #33805 failed with stages
in 5 minutes and 53 seconds
......@@ -7,12 +7,12 @@ RUN \
apt-get -y upgrade && \
apt-get -y install --no-install-recommends \
busybox ca-certificates curl git \
make pkg-config gcc cmake \
make pkg-config gcc \
check cppcheck lua-check valgrind \
libcurl4-openssl-dev libevent-dev \
lua5.1 liblua5.1-0-dev \
asciidoc lcov markdown libcommon-sense-perl \
wget && \
asciidoc lcov libcommon-sense-perl \
wget procps && \
apt-get clean
CMD [ "bash" ]
......@@ -17,7 +17,7 @@ unit-tests:
unit-valgrind-tests:
stage: test
script:
- make valgrind
- make OPENSSL_PURITY=y valgrind
# System integration tests #
system-tests:
......@@ -28,7 +28,18 @@ system-tests:
system-valgrind-tests:
stage: test
script:
- make test valgrind-sys
- make OPENSSL_PURITY=y valgrind-sys
# Static checkers #
cppcheck:
stage: test
script:
- make cppcheck
luacheck:
stage: test
script:
- make luacheck
# Gitlab pages #
pages:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment