diff options
author | Pablo Barciela <[email protected]> | 2020-04-20 02:12:19 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-20 02:29:18 +0200 |
commit | 5bbb85f1780c8e5a8fee4cf62b030b655eb57871 (patch) | |
tree | 4a4b0fe5430811c09a8c881ab44439cfded369d1 | |
parent | 6230430efaf19e3325adb353508b0502c7852c7d (diff) | |
download | mate-desktop-5bbb85f1780c8e5a8fee4cf62b030b655eb57871.tar.bz2 mate-desktop-5bbb85f1780c8e5a8fee4cf62b030b655eb57871.tar.xz |
Travis CI: debian build: add clang compiler
-rw-r--r-- | .build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -126,8 +126,16 @@ build_scripts: - NOCONFIGURE=1 ./autogen.sh - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum - 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 |