File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 51
51
paths :
52
52
- t/failed-test-artifacts
53
53
when : on_failure
54
+
55
+ static-analysis :
56
+ image : ubuntu:22.04
57
+ variables :
58
+ jobname : StaticAnalysis
59
+ before_script :
60
+ - ./ci/install-docker-dependencies.sh
61
+ script :
62
+ - ./ci/run-static-analysis.sh
63
+ - ./ci/check-directional-formatting.bash
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ linux-musl)
21
21
apache2 apache2-http2 apache2-proxy apache2-ssl apache2-webdav apr-util-dbd_sqlite3 \
22
22
bash cvs gnupg perl-cgi perl-dbd-sqlite > /dev/null
23
23
;;
24
- linux-* )
24
+ linux-* |StaticAnalysis )
25
25
# Required so that apt doesn't wait for user input on certain packages.
26
26
export DEBIAN_FRONTEND=noninteractive
27
27
@@ -31,6 +31,11 @@ linux-*)
31
31
perl-modules liberror-perl libauthen-sasl-perl libemail-valid-perl \
32
32
libdbd-sqlite3-perl libio-socket-ssl-perl libnet-smtp-ssl-perl ${CC_PACKAGE:- ${CC:- gcc} } \
33
33
apache2 cvs cvsps gnupg libcgi-pm-perl subversion
34
+
35
+ if test " $jobname " = StaticAnalysis
36
+ then
37
+ apt install -q -y coccinelle
38
+ fi
34
39
;;
35
40
pedantic)
36
41
dnf -yq update > /dev/null &&
You can’t perform that action at this time.
0 commit comments