Jenkinsfile_mpi_examples_test 1.27 KB
Newer Older
1 2 3 4
#!groovy

parallel (

incardon's avatar
incardon committed
5
"cifarm-ubuntu-node" : {node ('cifarm-ubuntu-node')
6 7 8
        {
         deleteDir()
         checkout scm
incardon's avatar
incardon committed
9
         stage ('build ubuntu')
10 11 12 13
         {
          sh "./build.sh $WORKSPACE $NODE_NAME pdata full  && make install"
         }

incardon's avatar
incardon committed
14
         stage ('run example ubuntu')
15
         {
16
          sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && . $HOME/openfpm_vars_master && cd example && make run"
17 18 19
         }
       }},

incardon's avatar
incardon committed
20
"cifarm-mac-node" : {node ('cifarm-mac-node')
21 22 23 24
         {
          deleteDir()
          checkout scm
          env.PATH = "/usr/local/bin:${env.PATH}"
25
          stage ('build mac')
26 27 28 29
          {
           sh "./build.sh $WORKSPACE $NODE_NAME pdata full && make install"
          }

incardon's avatar
incardon committed
30
          stage ('run mac')
31
          {
32
           sh ". $HOME/openfpm_vars_master && cd example && make"
33 34
	  }
         }
incardon's avatar
incardon committed
35 36 37 38 39 40 41 42 43
         },

"cifarm-centos-node" : {node ('cifarm-centos-node')
        {
         deleteDir()
         checkout scm
         stage ('build centos')
         {
          sh "./build.sh $WORKSPACE $NODE_NAME pdata full  && make install"
44
         }
incardon's avatar
incardon committed
45 46 47

         stage ('run example centos')
         {
48
          sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && . $HOME/openfpm_vars_master && cd example && make run"
incardon's avatar
incardon committed
49 50 51 52
         }
       }},


53 54
)