mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
Jenkins hardware snapdragon build with CCACHE_BASEDIR and dump logs
This commit is contained in:
@@ -15,8 +15,14 @@ pipeline {
|
||||
sh 'git fetch --tags'
|
||||
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
|
||||
sh 'ccache -s'
|
||||
// sanity check
|
||||
sh 'cd build/emlid_navio2_native/ && ./bin/px4 -s ../../posix-configs/rpi/px4_test.config'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
sh 'make distclean'
|
||||
}
|
||||
}
|
||||
options {
|
||||
timeout(time: 30, unit: 'MINUTES')
|
||||
}
|
||||
|
||||
@@ -13,12 +13,19 @@ pipeline {
|
||||
sh 'make distclean'
|
||||
sh 'ccache -z'
|
||||
sh 'git fetch --tags'
|
||||
sh 'make eagle_default'
|
||||
sh 'CCACHE_BASEDIR=${WORKSPACE} make eagle_default'
|
||||
sh 'ccache -s'
|
||||
// sanity check
|
||||
sh 'adb devices'
|
||||
sh 'make eagle_default sanity'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
sh 'cat boards/atlflight/eagle/scripts/px4.log'
|
||||
sh 'cat boards/atlflight/eagle/scripts/minidm.log'
|
||||
sh 'make distclean'
|
||||
}
|
||||
}
|
||||
options {
|
||||
timeout(time: 30, unit: 'MINUTES')
|
||||
}
|
||||
|
||||
@@ -64,8 +64,6 @@ else()
|
||||
|
||||
add_custom_target(sanity
|
||||
COMMAND ./px4_snapflight_sanitytest.sh -i -t
|
||||
COMMAND cat px4.log
|
||||
COMMAND cat minidm.log
|
||||
DEPENDS px4
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts
|
||||
COMMENT "uploading px4"
|
||||
|
||||
@@ -49,13 +49,33 @@ mavlink boot_complete
|
||||
|
||||
sleep 5
|
||||
|
||||
ver all
|
||||
sleep 1
|
||||
commander check
|
||||
sleep 1
|
||||
dataman status
|
||||
sleep 1
|
||||
ekf2 status
|
||||
sleep 1
|
||||
logger status
|
||||
sleep 1
|
||||
mavlink status
|
||||
sleep 1
|
||||
mavlink status streams
|
||||
sleep 1
|
||||
param show
|
||||
sleep 1
|
||||
param status
|
||||
sleep 1
|
||||
pwm info
|
||||
sleep 1
|
||||
sensors status
|
||||
sleep 1
|
||||
perf
|
||||
sleep 1
|
||||
perf latency
|
||||
sleep 1
|
||||
uorb top -1
|
||||
sleep 1
|
||||
|
||||
shutdown
|
||||
|
||||
Reference in New Issue
Block a user