mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +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
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -21,6 +21,7 @@ pipeline {
|
||||||
tasks << buildStaticBinaries()
|
tasks << buildStaticBinaries()
|
||||||
tasks << buildDebianNative()
|
tasks << buildDebianNative()
|
||||||
tasks << buildCentosNative()
|
tasks << buildCentosNative()
|
||||||
|
tasks << buildMacOS()
|
||||||
|
|
||||||
parallel tasks
|
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 buildStaticBinaries() {
|
||||||
def tasks = [:]
|
def tasks = [:]
|
||||||
def dist = ["alpine"]
|
def dist = ["alpine"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue