You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
679 B
34 lines
679 B
def configs = ["sierra", "yosemite"]
|
|
|
|
def _build(label) {
|
|
node(label) {
|
|
try {
|
|
timeout(time: 30, unit: 'MINUTES') {
|
|
stage("Compile") {
|
|
sh """
|
|
set -xe
|
|
|
|
/usr/local/bin/brew update
|
|
/usr/local/bin/brew reinstall openssl@1.1 --build-bottle
|
|
"""
|
|
}
|
|
}
|
|
} finally {
|
|
deleteDir()
|
|
}
|
|
}
|
|
}
|
|
|
|
def builders = [:]
|
|
|
|
for (_label in configs) {
|
|
def label = _label
|
|
builders[label] = {
|
|
_build(label)
|
|
}
|
|
}
|
|
|
|
parallel builders
|
|
|
|
build job: 'pyca/cryptography/master', wait: false
|