diff --git a/.jenkins_macos b/.jenkins_macos new file mode 100644 index 00000000..ed082de2 --- /dev/null +++ b/.jenkins_macos @@ -0,0 +1,40 @@ +#!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' + } + } + } + } +}