Skip to content

Commit

Permalink
feat: add mac ci (#2622)
Browse files Browse the repository at this point in the history
  • Loading branch information
janl authored and wohali committed Mar 2, 2020
1 parent d2f2c0d commit e6e4c03
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions build-aux/Jenkinsfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e6e4c03

Please sign in to comment.