Robin Mueller
3ed1b6f9f1
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
31 lines
609 B
Groovy
31 lines
609 B
Groovy
pipeline {
|
|
agent any
|
|
environment {
|
|
BUILDDIR = 'cmake-build-debug'
|
|
}
|
|
agent {
|
|
docker { image 'fsfw-ci:d2'}
|
|
}
|
|
stages {
|
|
stage('Clean') {
|
|
steps {
|
|
sh 'rm -rf $BUILDDIR'
|
|
}
|
|
}
|
|
stage('Configure') {
|
|
steps {
|
|
dir(BUILDDIR) {
|
|
sh 'cmake -DFSFW_OSAL=host ..'
|
|
}
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
dir(BUILDDIR) {
|
|
sh 'cmake --build . -j4'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|