mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Jenkins mac compile run tests separately
This commit is contained in:
@@ -21,7 +21,6 @@ pipeline {
|
|||||||
sh 'ccache -z'
|
sh 'ccache -z'
|
||||||
sh 'make px4_sitl_default'
|
sh 'make px4_sitl_default'
|
||||||
sh 'ccache -s'
|
sh 'ccache -s'
|
||||||
sh 'make tests'
|
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
@@ -51,6 +50,27 @@ pipeline {
|
|||||||
}
|
}
|
||||||
} // stage px4_fmu-v5_default
|
} // stage px4_fmu-v5_default
|
||||||
|
|
||||||
|
stage('sitl tests (OSX)') {
|
||||||
|
agent {
|
||||||
|
label 'mac'
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
CCACHE_BASEDIR = "${env.WORKSPACE}"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'export'
|
||||||
|
sh 'make distclean'
|
||||||
|
sh 'ccache -z'
|
||||||
|
sh 'make tests'
|
||||||
|
sh 'ccache -s'
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
sh 'make distclean'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} // stage sitl tests
|
||||||
|
|
||||||
} // parallel
|
} // parallel
|
||||||
} // stage Build
|
} // stage Build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user