add macos build to jenkins

This commit is contained in:
Grant Limberg 2020-06-16 16:13:01 -07:00
parent d50c6ee1ce
commit 4036657e32
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

18
Jenkinsfile vendored
View file

@ -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"]