mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 02:40:13 +00:00
32 lines
655 B
Groovy
32 lines
655 B
Groovy
#!/usr/bin/env groovy
|
|
|
|
parallel 'centos7': {
|
|
node('centos7') {
|
|
checkout scm
|
|
|
|
stage('Build Centos 7') {
|
|
sh 'make -f make-linux.mk'
|
|
}
|
|
}
|
|
}, 'android-ndk': {
|
|
node('android-ndk') {
|
|
checkout scm
|
|
|
|
stage('Build Android NDK') {
|
|
sh '/android/android-ndk-r13/ndk-build -C $WORKSPACE/java ZT1=$WORKSPACE'
|
|
}
|
|
}
|
|
}, 'macOS': {
|
|
node('macOS') {
|
|
checkout scm
|
|
|
|
stage('Build macOS') {
|
|
sh 'make -f make-mac.mk'
|
|
}
|
|
|
|
stage('Build macOS UI') {
|
|
sh 'cd macui && xcodebuild -scheme "ZeroTier One" -configuration Debug'
|
|
}
|
|
}
|
|
}
|