[Pkg-owncloud-commits] [owncloud-client] 04/84: Add Jenkinsfile (#5041)
Sandro Knauß
hefee at moszumanska.debian.org
Fri Oct 21 22:51:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee pushed a commit to branch master
in repository owncloud-client.
commit cef24da44cffa079ba4a90aef3e2ae3bceae5a7f
Author: Thomas Müller <DeepDiver1975 at users.noreply.github.com>
Date: Tue Jul 12 13:24:35 2016 +0200
Add Jenkinsfile (#5041)
---
Jenkinsfile | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..51d6100
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,43 @@
+#!groovy
+
+node('CLIENT') {
+ stage 'Checkout'
+ checkout scm
+ sh '''git submodule update --init'''
+
+ stage 'Qt4'
+ sh '''rm -rf build
+ mkdir build
+ cd build
+ cmake -DUNIT_TESTING=1 -DBUILD_WITH_QT4=ON ..
+ make
+ ctest --output-on-failure'''
+
+ stage 'Qt4 - clang'
+ sh '''rm -rf build
+ mkdir build
+ cd build
+ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DUNIT_TESTING=1 -DBUILD_WITH_QT4=ON ..
+ make
+ ctest --output-on-failure'''
+
+ stage 'Qt5'
+ sh '''rm -rf build
+ mkdir build
+ cd build
+ cmake -DUNIT_TESTING=1 -DBUILD_WITH_QT4=OFF ..
+ make
+ ctest --output-on-failure'''
+
+ stage 'Qt5 - clang'
+ sh '''rm -rf build
+ mkdir build
+ cd build
+ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DUNIT_TESTING=1 -DBUILD_WITH_QT4=OFF ..
+ make
+ ctest --output-on-failure'''
+
+
+}
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list