tile/Jenkinsfile
2024-08-05 08:13:00 +00:00

38 lines
727 B
Groovy

pipeline {
agent {
docker {
image 'tqcq/cross'
}
}
options {
skipDefaultCheckout(true)
}
stages {
stage("Checkout") {
steps {
cleanWs()
checkout scm
}
}
stage('Configure') {
steps {
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
}
}
stage('Build'){
steps {
sh 'cmake --build build --target all -- -j`nproc --ignore=4`'
}
}
stage('Deploy') {
steps {
sh 'echo publish'
}
}
}
}