2024-07-18 17:57:55 +08:00
|
|
|
pipeline {
|
2024-07-19 00:21:42 +08:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'tqcq/cross'
|
|
|
|
}
|
|
|
|
}
|
2024-07-18 17:57:55 +08:00
|
|
|
stages {
|
2024-07-19 00:20:00 +08:00
|
|
|
stage('Configure') {
|
2024-07-18 17:57:55 +08:00
|
|
|
steps {
|
2024-07-19 00:20:00 +08:00
|
|
|
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
|
2024-07-18 17:57:55 +08:00
|
|
|
}
|
|
|
|
}
|
2024-07-19 00:56:29 +08:00
|
|
|
stage('Build'){
|
2024-07-18 17:57:55 +08:00
|
|
|
steps {
|
2024-07-19 00:56:29 +08:00
|
|
|
sh 'cmake --build --target all -- -j`nproc --ignore=4`'
|
2024-07-18 17:57:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Deploy') {
|
|
|
|
steps {
|
|
|
|
sh 'echo publish'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|