From 3b3499ac2fcac31475bdb02740ef293a564653c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 1 Nov 2014 23:41:35 +0100 Subject: [PATCH] package/ci: added Clang Analyzer and Clang *Sanitizer jobs. --- doc/building.dox | 7 + package/ci/jenkins-clang-analyzer.xml | 158 +++++++++++++++++ .../ci/jenkins-clang-sanitizer-gltests.xml | 103 +++++++++++ package/ci/jenkins-clang-sanitizer.xml | 166 ++++++++++++++++++ 4 files changed, 434 insertions(+) create mode 100644 package/ci/jenkins-clang-analyzer.xml create mode 100644 package/ci/jenkins-clang-sanitizer-gltests.xml create mode 100644 package/ci/jenkins-clang-sanitizer.xml diff --git a/doc/building.dox b/doc/building.dox index ed782d36c..5d584491b 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -529,6 +529,13 @@ library with every combination of them. You can add/remove the axes in Magnum-GLTests depend on active X11 session, thus they should be run from Jenkins instance running on graphical user session. +Clang Analyzer and *Sanitizer checks are also available. They both require +**Clang**, Analyzer job additionally requires **clang-analyzer** tool. + + java -jar ~/jenkins-cli.jar -s http://localhost:8080 update-job Magnum-ClangAnalyzer < package/ci/jenkins-clang-analyzer.xml + java -jar ~/jenkins-cli.jar -s http://localhost:8080 update-job Magnum-ClangSanitizer < package/ci/jenkins-clang-sanitizer.xml + java -jar ~/jenkins-cli.jar -s http://localhost:8080 update-job Magnum-ClangSanitizer-GLTests < package/ci/jenkins-clang-sanitizer-gltests.xml + There is also MinGW-w64, Emscripten, NaCl and Android configuration, add or update them with the commands below. See @ref building-crosscompiling for more information about setting up the crosscompilers and `toolchains/` submodule. diff --git a/package/ci/jenkins-clang-analyzer.xml b/package/ci/jenkins-clang-analyzer.xml new file mode 100644 index 000000000..c0819f3c5 --- /dev/null +++ b/package/ci/jenkins-clang-analyzer.xml @@ -0,0 +1,158 @@ + + + + + + -1 + 10 + -1 + -1 + + false + + + 2 + + + git://github.com/mosra/magnum.git + + + + + */master + + + false + + + + true + + + + + true + false + false + false + + false + Magnum + + + gl + + desktop + es2 + es2desktop + es3 + es3desktop + + + + compatibility + + + deprecated + + + + + + + + + + + + + scan-build: \d+ bugs found + false + true + true + + + + + true + + + + + UNSTABLE + 1 + YELLOW + true + + + . + diff --git a/package/ci/jenkins-clang-sanitizer-gltests.xml b/package/ci/jenkins-clang-sanitizer-gltests.xml new file mode 100644 index 000000000..5344d0382 --- /dev/null +++ b/package/ci/jenkins-clang-sanitizer-gltests.xml @@ -0,0 +1,103 @@ + + + + + + -1 + 10 + -1 + -1 + + false + + + 2 + + + git://github.com/mosra/magnum.git + + + + + */master + + + false + + + + true + + + + + true + false + false + false + + false + Magnum + + + gl + + desktop + es2desktop + es3desktop + + + + compatibility + + + deprecated + + + + sanitizer + + address + + + + + + + + + + + + + + + Errors while running CTest + false + true + true + + + + + true + + + + + SUCCESS + 0 + BLUE + true + + + . + diff --git a/package/ci/jenkins-clang-sanitizer.xml b/package/ci/jenkins-clang-sanitizer.xml new file mode 100644 index 000000000..118544003 --- /dev/null +++ b/package/ci/jenkins-clang-sanitizer.xml @@ -0,0 +1,166 @@ + + + + + + -1 + 10 + -1 + -1 + + false + + + 2 + + + git://github.com/mosra/magnum.git + + + + + */master + + + false + + + + true + + + + + true + false + false + false + + false + Magnum + + + gl + + desktop + es2 + es2desktop + es3 + es3desktop + + + + compatibility + + + deprecated + + + + sanitizer + + address + + + + + + + + + + + + + + + Errors while running CTest + false + true + true + + + + + true + + + + + UNSTABLE + 1 + YELLOW + true + + + . +