Debian Codegraph @

.build.yml

raw symbols SCIP
1 ##########################################################
2 # THE FOLLOWING LINES IS USED BY docker-build
3 ##########################################################
4 requires:
5 archlinux:
6 # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/engrampa
7 - autoconf-archive
8 - caja
9 - clang
10 - file
11 - gcc
12 - git
13 - gtk3
14 - json-glib
15 - make
16 - mate-common
17 - which
18 - yelp-tools
19
20 debian:
21 # Useful URL: https://github.com/mate-desktop/debian-packages
22 # Useful URL: https://salsa.debian.org/debian-mate-team/engrampa
23 - autoconf-archive
24 - autopoint
25 - clang
26 - clang-tools
27 - cppcheck
28 - gettext
29 - gcc
30 - git
31 - libcaja-extension-dev
32 - libglib2.0-dev
33 - libgtk-3-dev
34 - libjson-glib-dev
35 - libmagic-dev
36 - make
37 - mate-common
38 - yelp-tools
39
40 fedora:
41 # Useful URL: https://src.fedoraproject.org/cgit/rpms/engrampa.git
42 - autoconf-archive
43 - caja-devel
44 - clang
45 - clang-analyzer
46 - cppcheck-htmlreport
47 - desktop-file-utils
48 - file-devel
49 - gcc
50 - git
51 - gtk3-devel
52 - json-glib-devel
53 - libSM-devel
54 - make
55 - mate-common
56 - redhat-rpm-config
57
58 ubuntu:
59 - autoconf-archive
60 - autopoint
61 - clang
62 - clang-tools
63 - gcc
64 - gettext
65 - git
66 - libcaja-extension-dev
67 - libglib2.0-dev
68 - libgtk-3-dev
69 - libjson-glib-dev
70 - libmagic-dev
71 - make
72 - mate-common
73 - yelp-tools
74
75 variables:
76 - 'CHECKERS="
77 -enable-checker deadcode.DeadStores
78 -enable-checker alpha.deadcode.UnreachableCode
79 -enable-checker alpha.core.CastSize
80 -enable-checker alpha.core.CastToStruct
81 -enable-checker alpha.core.IdenticalExpr
82 -enable-checker alpha.core.SizeofPtr
83 -enable-checker alpha.security.ArrayBoundV2
84 -enable-checker alpha.security.MallocOverflow
85 -enable-checker alpha.security.ReturnPtrRange
86 -enable-checker alpha.unix.SimpleStream
87 -enable-checker alpha.unix.cstring.BufferOverlap
88 -enable-checker alpha.unix.cstring.NotNullTerminated
89 -enable-checker alpha.unix.cstring.OutOfBounds
90 -enable-checker alpha.core.FixedAddr
91 -enable-checker security.insecureAPI.strcpy"'
92
93 before_scripts:
94
95 build_scripts:
96 - if [ ${DISTRO_NAME} == "debian" ];then
97 - export CFLAGS+=" -Wsign-compare -Wunused-macros"
98 - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
99 - fi
100
101 - NOCONFIGURE=1 ./autogen.sh
102 - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
103 - if [ $CPU_COUNT -gt 1 ]; then
104 - if [ ${DISTRO_NAME} == "debian" ];then
105 - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $(( $CPU_COUNT + 1 ))
106 - make clean
107 - fi
108 - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 ))
109 - else
110 - if [ ${DISTRO_NAME} == "debian" ];then
111 - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make
112 - make clean
113 - fi
114 - scan-build $CHECKERS --keep-cc -o html-report make
115 - fi
116
117 after_scripts:
118 - if [ ${DISTRO_NAME} == "fedora" ];then
119 - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude .
120 - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport
121 - ./gen-index -l 20 -i https://github.com/mate-desktop/engrampa/raw/master/data/icons/16x16/apps/engrampa.png
122 - fi
123 - make distcheck
124
125 releases:
126 draft: false
127 prerelease: false
128 checksum: true
129 file_glob: true
130 files: engrampa-*.tar.xz
131 github_release:
132 tags: true
133 overwrite: true
134 base_version: 1.20.0
135 notify_servers:
136 - https://release.mate-desktop.org/release