mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-26 17:03:43 +02:00
add freebsd build target
This commit is contained in:
parent
f989758159
commit
a66b4a6f5e
1 changed files with 19 additions and 1 deletions
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
|
@ -23,6 +23,7 @@ pipeline {
|
||||||
tasks << buildCentosNative()
|
tasks << buildCentosNative()
|
||||||
tasks << buildMacOS()
|
tasks << buildMacOS()
|
||||||
tasks << buildWindows()
|
tasks << buildWindows()
|
||||||
|
tasks << buildFreeBSD()
|
||||||
|
|
||||||
parallel tasks
|
parallel tasks
|
||||||
}
|
}
|
||||||
|
@ -47,8 +48,8 @@ def buildMacOS() {
|
||||||
dir("build") {
|
dir("build") {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh 'make'
|
sh 'make'
|
||||||
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
|
||||||
}
|
}
|
||||||
|
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return myNode
|
return myNode
|
||||||
|
@ -87,6 +88,23 @@ def buildWindows() {
|
||||||
return tasks
|
return tasks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def buildFreeBSD() {
|
||||||
|
def tasks = [:]
|
||||||
|
tasks << getTasks(['freebsd12'], ['amd64'], { unused, unused ->
|
||||||
|
def myNode = {
|
||||||
|
node ('freebsd12') {
|
||||||
|
dir('build') {
|
||||||
|
checkout scm
|
||||||
|
sh 'make'
|
||||||
|
}
|
||||||
|
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return myNode
|
||||||
|
})
|
||||||
|
return tasks
|
||||||
|
}
|
||||||
|
|
||||||
def buildStaticBinaries() {
|
def buildStaticBinaries() {
|
||||||
def tasks = [:]
|
def tasks = [:]
|
||||||
def dist = ["alpine"]
|
def dist = ["alpine"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue