未验证 提交 c992c8dc 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #1458 from EOSIO/jenkins-add-darwin

Add Darwin builds to Jenkinsfile
pipeline {
agent any
agent none
stages {
stage('Build') {
parallel {
stage('Ubuntu') {
agent { label 'Ubuntu' }
steps {
sh '''
. $HOME/.bash_profile
......@@ -12,18 +13,11 @@ pipeline {
}
}
stage('MacOS') {
agent { label 'MacOS' }
steps {
sh '''
. $HOME/.bash_profile
echo "Darwin build coming soon..."
'''
}
}
stage('Fedora') {
steps {
sh '''
. $HOME/.bash_profile
echo "Fedora build coming soon..."
./eosio_build.sh
'''
}
}
......@@ -32,6 +26,7 @@ pipeline {
stage('Tests') {
parallel {
stage('Ubuntu') {
agent { label 'Ubuntu' }
steps {
sh '''
. $HOME/.bash_profile
......@@ -45,18 +40,16 @@ pipeline {
}
}
stage('MacOS') {
agent { label 'MacOS' }
steps {
sh '''
. $HOME/.bash_profile
echo "Darwin tests coming soon..."
'''
}
}
stage('Fedora') {
steps {
sh '''
. $HOME/.bash_profile
echo "Fedora tests coming soon..."
export EOSLIB=$(pwd)/contracts
cd build
printf "Waiting for testing to be available..."
while /usr/bin/pgrep -x ctest > /dev/null; do sleep 1; done
echo "OK!"
ctest --output-on-failure
'''
}
}
......@@ -65,7 +58,13 @@ pipeline {
}
post {
always {
cleanWs()
node('Ubuntu') {
cleanWs()
}
node('MacOS') {
cleanWs()
}
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册