2016-10-25 18:10:21 +00:00
|
|
|
#!/usr/bin/env groovy
|
|
|
|
|
|
|
|
parallel 'centos7': {
|
|
|
|
node('centos7') {
|
2016-10-25 19:40:03 +00:00
|
|
|
checkout scm
|
2016-10-25 18:10:21 +00:00
|
|
|
|
2016-10-25 18:18:26 +00:00
|
|
|
stage('Build Centos 7') {
|
|
|
|
sh 'make -f make-linux.mk'
|
|
|
|
}
|
2016-10-25 18:10:21 +00:00
|
|
|
}
|
|
|
|
}, 'android-ndk': {
|
|
|
|
node('android-ndk') {
|
2016-10-25 19:40:03 +00:00
|
|
|
checkout scm
|
2016-10-25 18:18:26 +00:00
|
|
|
|
2016-10-25 18:21:39 +00:00
|
|
|
stage('Build Android NDK') {
|
2016-10-25 18:18:26 +00:00
|
|
|
sh '/android/android-ndk-r13/ndk-build -C $WORKSPACE/java ZT1=$WORKSPACE'
|
|
|
|
}
|
2016-10-25 18:10:21 +00:00
|
|
|
}
|
2016-10-25 19:40:03 +00:00
|
|
|
}, 'macOS': {
|
|
|
|
node('macOS') {
|
|
|
|
checkout scm
|
|
|
|
|
|
|
|
stage('Build macOS') {
|
|
|
|
sh 'make -f make-mac.mk'
|
|
|
|
}
|
2016-10-25 19:58:54 +00:00
|
|
|
|
|
|
|
stage('Build macOS UI') {
|
2016-10-25 20:33:50 +00:00
|
|
|
sh 'cd macui && xcodebuild -target "ZeroTier One" -configuration Debug'
|
2016-10-25 19:58:54 +00:00
|
|
|
}
|
2016-10-25 19:40:03 +00:00
|
|
|
}
|
2016-10-25 18:10:21 +00:00
|
|
|
}
|