This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/Jenkinsfile

32 lines
655 B
Plaintext
Raw Normal View History

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