summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2020-03-02 17:54:07 +0100
committerJoan Touzet <wohali@users.noreply.github.com>2020-03-02 17:33:29 +0000
commite6e4c0376ea09f346e3655ce2410d66bd0cf2f20 (patch)
tree485ddb93336873cd3af502616a2027791c3ca2a1
parentd2f2c0d0b502f32c90f670c7dfde398fb972f3d0 (diff)
downloadcouchdb-e6e4c0376ea09f346e3655ce2410d66bd0cf2f20.tar.gz
feat: add mac ci (#2622)
-rw-r--r--build-aux/Jenkinsfile.full37
1 files changed, 37 insertions, 0 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 181e38871..d88525415 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -158,6 +158,43 @@ pipeline {
} // post
} // stage FreeBSD
+ stage('macOS') {
+ agent {
+ label 'macos'
+ }
+ steps {
+ // deleteDir is OK here because we're not inside of a Docker container!
+ deleteDir()
+ unstash 'tarball'
+ withEnv(['HOME='+pwd()]) {
+ sh '''
+ PATH=/usr/local/bin:$PATH
+ export PATH
+ mkdir -p $COUCHDB_IO_LOG_DIR
+
+ # Build CouchDB from tarball & test
+ mkdir build
+ cd build
+ tar -xzf $WORKSPACE/apache-couchdb-*.tar.gz
+ cd apache-couchdb-*
+ ./configure --with-curl --spidermonkey-version 60
+ make check || (build-aux/logfile-uploader.py && false)
+
+ # No package build for macOS at this time
+ '''
+ } // withEnv
+ } // steps
+ post {
+ always {
+ junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
+ }
+ cleanup {
+ sh 'killall -9 beam.smp || true'
+ sh 'rm -rf ${WORKSPACE}/* ${COUCHDB_IO_LOG_DIR} || true'
+ }
+ } // post
+ } // stage macOS
+
stage('CentOS 6') {
agent {
docker {