mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
Jenkins enable clang-tidy build
This commit is contained in:
Vendored
+12
-13
@@ -215,19 +215,18 @@ pipeline {
|
|||||||
stage('Test') {
|
stage('Test') {
|
||||||
parallel {
|
parallel {
|
||||||
|
|
||||||
// temporarily disabled until build resources are available
|
stage('clang tidy') {
|
||||||
//stage('clang-tidy') {
|
agent {
|
||||||
// agent {
|
docker {
|
||||||
// docker {
|
image 'px4io/px4-dev-clang:2017-10-23'
|
||||||
// image 'px4io/px4-dev-clang:2017-10-23'
|
args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
|
||||||
// args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
|
}
|
||||||
// }
|
}
|
||||||
// }
|
steps {
|
||||||
// steps {
|
sh 'make clean'
|
||||||
// sh 'make clean'
|
sh 'make clang-tidy-quiet'
|
||||||
// sh 'make clang-tidy-quiet'
|
}
|
||||||
// }
|
}
|
||||||
//}
|
|
||||||
|
|
||||||
stage('tests') {
|
stage('tests') {
|
||||||
agent {
|
agent {
|
||||||
|
|||||||
Reference in New Issue
Block a user