Jenkins add px4fmu bloaty comparison to last successful master build (#9142)

This commit is contained in:
Daniel Agar 2018-03-22 13:42:24 -04:00 committed by GitHub
parent 44e3bd6c1c
commit dffb4f23b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
Jenkinsfile vendored
View File

@ -23,8 +23,11 @@ pipeline {
sh "ccache -z"
sh "git fetch --tags"
sh "make nuttx_${node_name}_default"
sh "bloaty -n 100 -d symbols -s file `find . -name *.elf`"
sh "bloaty -n 100 -d compileunits -s file `find . -name *.elf`"
// bloaty output and compare with last successful master
sh "bloaty -n 100 -d symbols -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf"
sh "bloaty -n 100 -d compileunits -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf"
sh "wget --no-verbose -N https://s3.amazonaws.com/px4-travis/Firmware/master/nuttx_${node_name}_default.elf"
sh "bloaty -d symbols -C full -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf -- nuttx_${node_name}_default.elf"
sh "make nuttx_${node_name}_rtps"
sh "make sizes"
sh "ccache -s"
@ -51,8 +54,11 @@ pipeline {
sh "git fetch --tags"
sh "make px4io-v2_default"
sh "make nuttx_px4fmu-v2_default"
sh "bloaty -n 100 -d symbols -s file `find . -name *.elf`"
sh "bloaty -n 100 -d compileunits -s file `find . -name *.elf`"
// bloaty output and compare with last successful master
sh "bloaty -n 100 -d symbols -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf"
sh "bloaty -n 100 -d compileunits -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf"
sh "wget --no-verbose -N https://s3.amazonaws.com/px4-travis/Firmware/master/nuttx_px4fmu-v2_default.elf"
sh "bloaty -d symbols -C full -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf -- nuttx_px4fmu-v2_default.elf"
sh "make nuttx_px4fmu-v2_lpe"
sh "make nuttx_px4fmu-v3_default"
sh "make nuttx_px4fmu-v3_rtps"