From 0e972fc6c264033035a5e4b9819e61aa95e533a0 Mon Sep 17 00:00:00 2001
From: Daniel Agar <daniel@agar.ca>
Date: Wed, 21 Mar 2018 16:29:45 -0400
Subject: [PATCH] Jenkins run bloaty on px4fmu nuttx builds

---
 Jenkinsfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0dfa9ed24f..52483f8a13 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,6 +23,8 @@ 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`"
                       sh "make nuttx_${node_name}_rtps"
                       sh "make sizes"
                       sh "ccache -s"
@@ -49,6 +51,8 @@ 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`"
                     sh "make nuttx_px4fmu-v2_lpe"
                     sh "make nuttx_px4fmu-v3_default"
                     sh "make nuttx_px4fmu-v3_rtps"
-- 
GitLab