mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 21:46:54 +02:00
add macos build to jenkins
This commit is contained in:
parent
d50c6ee1ce
commit
4036657e32
1 changed files with 17 additions and 1 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -21,7 +21,8 @@ pipeline {
|
|||
tasks << buildStaticBinaries()
|
||||
tasks << buildDebianNative()
|
||||
tasks << buildCentosNative()
|
||||
|
||||
tasks << buildMacOS()
|
||||
|
||||
parallel tasks
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +37,21 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
def buildMacOS() {
|
||||
tasks << getTasks({ ->
|
||||
def myNode = {
|
||||
node ('mac') {
|
||||
dir("build") {
|
||||
checkout scm
|
||||
sh 'make'
|
||||
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
return tasks
|
||||
}
|
||||
|
||||
def buildStaticBinaries() {
|
||||
def tasks = [:]
|
||||
def dist = ["alpine"]
|
||||
|
|
Loading…
Add table
Reference in a new issue