diff options
author | raveit65 <[email protected]> | 2021-09-11 14:45:05 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-11 14:45:05 +0200 |
commit | bdc314cd66abfa8deaa13b18b3f7cb611bdf8a68 (patch) | |
tree | f6eff39c80d76e5154e8df2927db4891a12c6177 /.build.yml | |
parent | 268ed59da718f619acc4b85573b892b0fe7ffd1d (diff) | |
download | atril-bdc314cd66abfa8deaa13b18b3f7cb611bdf8a68.tar.bz2 atril-bdc314cd66abfa8deaa13b18b3f7cb611bdf8a68.tar.xz |
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 25 |
1 files changed, 4 insertions, 21 deletions
@@ -61,7 +61,6 @@ requires: - caja-devel - clang - clang-analyzer - - cppcheck-htmlreport - desktop-file-utils - djvulibre-devel - gcc @@ -139,34 +138,18 @@ before_scripts: - fi build_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-macros -Wunused-parameter" - - export CXXFLAGS+=" -Wsign-compare -Wunused-macros -Wunused" - - cppcheck --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus . - - fi - - NOCONFIGURE=1 ./autogen.sh - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum --enable-cxx-warnings=maximum + - scan-build $CHECKERS ./configure - if [ $CPU_COUNT -gt 1 ]; then - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - else - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus . + - fi after_scripts: - - if [ ${DISTRO_NAME} == "fedora" ];then - - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus . - - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport - - ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/atril/raw/master/data/icons/16x16/apps/atril.png - - fi - make distcheck releases: |