-
Pietro Incardona authoredPietro Incardona authored
Jenkinsfile_mpi_examples_test 1.27 KiB
#!groovy
parallel (
"cifarm-ubuntu-node" : {node ('cifarm-ubuntu-node')
{
deleteDir()
checkout scm
stage ('build ubuntu')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata full && make install"
}
stage ('run example ubuntu')
{
sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && . $HOME/openfpm_vars_master && cd example && make run"
}
}},
"cifarm-mac-node" : {node ('cifarm-mac-node')
{
deleteDir()
checkout scm
env.PATH = "/usr/local/bin:${env.PATH}"
stage ('build mac')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata full && make install"
}
stage ('run mac')
{
sh ". $HOME/openfpm_vars_master && cd example && make"
}
}
},
"cifarm-centos-node" : {node ('cifarm-centos-node')
{
deleteDir()
checkout scm
stage ('build centos')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata full && make install"
}
stage ('run example centos')
{
sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && . $HOME/openfpm_vars_master && cd example && make run"
}
}},
)