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

36 lines
683 B
Groovy

pipeline {
agent {
docker {
image 'tqcq/cross'
}
}
options {
skipDefaultCheckout(true)
}
stages {
stage("Checkout") {
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 --target all -- -j`nproc --ignore=4`'
}
}
stage('Deploy') {
steps {
sh 'echo publish'
}
}
}
}