]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
[2.2] Jenkinsfile: Add win32 build (#5091) (#5115)
authorThomas Müller <DeepDiver1975@users.noreply.github.com>
Tue, 9 Aug 2016 14:20:32 +0000 (16:20 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Tue, 9 Aug 2016 14:20:32 +0000 (16:20 +0200)
Jenkinsfile

index 51d6100ad066680d8c66dfc84e60bc665286a0db..4809b440bbed294dbfea9bd3a947fcb44f091f89 100644 (file)
@@ -38,6 +38,21 @@ node('CLIENT') {
                ctest --output-on-failure'''
 
 
+    stage 'Win32'
+       def win32 = docker.image('deepdiver/docker-owncloud-client-win32:latest')
+       win32.pull() // make sure we have the latest available from Docker Hub
+       win32.inside {
+               sh '''
+               rm -rf build-win32
+               mkdir build-win32
+               cd build-win32
+               ../admin/win/download_runtimes.sh
+               cmake .. -DCMAKE_TOOLCHAIN_FILE=../admin/win/Toolchain-mingw32-openSUSE.cmake -DWITH_CRASHREPORTER=ON
+               make -j4
+               make package
+               ctest .
+               '''
+       }
 }