diff --git a/Jenkinsfile b/Jenkinsfile index b81fd63..31c12c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,22 +17,27 @@ pipeline { sh 'tools/validate/includeGuard.sh' } } + stage("build and test"){ + stages{ + stage("prepare"){ + steps{ + sh ''' + mkdir build + cd $_ + cmake .. -G ninja + ''' + } + } - stages{ - stage("prepare"){ - steps{ + stage("build"){ sh ''' - mkdir build - cd $_ - cmake .. -G ninja + cd build ninja ''' } - } - stage("build"){ - sh ''' - cd build ninja - ''' + stage("test"){ + echo "test" + } } } }