You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/03/02 18:04:45 UTC
[couchdb] branch 3.x updated: feat: add mac ci (#2622)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.x by this push:
new 26e6463 feat: add mac ci (#2622)
26e6463 is described below
commit 26e646327f785a9ef8a5adbc03d0c75dbe674636
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Mon Mar 2 17:54:07 2020 +0100
feat: add mac ci (#2622)
---
build-aux/Jenkinsfile.full | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 181e388..eca3f4c 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 because of notarization
+ '''
+ } // 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 {