Files
repertory/.jenkins_macos
Scott E. Graves f56302769c
All checks were successful
BlockStorage/repertory_mac/pipeline/head This commit looks good
BlockStorage/repertory/pipeline/head This commit looks good
added macos delivery
2025-08-04 09:00:37 -05:00

58 lines
1.0 KiB
Groovy

#!groovy
pipeline {
agent none
environment {
DEVELOPER_PRIVATE_KEY = "${env.HOME}/.ci/repertory/cert/developer.priv"
DEVELOPER_PUBLIC_KEY = "${env.HOME}/.ci/repertory/cert/developer.pub"
PROJECT_TEST_CONFIG_DIR = "${env.HOME}/.ci/repertory/test"
}
options {
disableConcurrentBuilds()
retry(2)
}
stages {
stage('darwin_aarch64') {
agent any
steps {
retry(2) {
sleep time: 5, unit: 'SECONDS'
sh 'scripts/make_unix.sh aarch64'
}
}
}
stage('darwin_x86_64') {
agent any
steps {
retry(2) {
sleep time: 5, unit: 'SECONDS'
sh 'scripts/make_unix.sh x86_64'
}
}
}
stage('darwin_aarch64_test') {
agent any
steps {
sh 'scripts/run_tests.sh aarch64'
}
}
stage('deliver') {
agent any
steps {
sh "scripts/deliver.sh ${env.HOME}/mnt/repertory '' aarch64"
sh "scripts/deliver.sh ${env.HOME}/mnt/repertory '' x86_64"
}
}
}
}