Skip to content

Commit

Permalink
Jenkins add bloaty SITL and disable ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Aug 28, 2019
1 parent 7ee1043 commit 0c736fc
Showing 1 changed file with 34 additions and 9 deletions.
43 changes: 34 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pipeline {
}
}

stage('Bloaty px4_fmu-v2') {
stage('px4_fmu-v2 (bloaty)') {
agent {
docker {
image 'px4io/px4-dev-nuttx:2019-07-29'
Expand Down Expand Up @@ -122,9 +122,12 @@ pipeline {
sh 'make distclean'
}
}
environment {
CCACHE_DISABLE = 1
}
}

stage('Bloaty px4_fmu-v5') {
stage('px4_fmu-v5 (bloaty)') {
agent {
docker {
image 'px4io/px4-dev-nuttx:2019-07-29'
Expand Down Expand Up @@ -152,9 +155,12 @@ pipeline {
sh 'make distclean'
}
}
environment {
CCACHE_DISABLE = 1
}
}

stage('No-ninja px4_fmu-v2') {
stage('px4_sitl (bloaty)') {
agent {
docker {
image 'px4io/px4-dev-nuttx:2019-07-29'
Expand All @@ -166,17 +172,28 @@ pipeline {
sh 'make distclean'
sh 'ccache -z'
sh 'git fetch --tags'
sh 'NO_NINJA_BUILD=1 make px4_fmu-v2_default'
sh 'make px4_sitl_default'
sh 'make px4_sitl_default bloaty_compileunits'
sh 'make px4_sitl_default bloaty_inlines'
sh 'make px4_sitl_default bloaty_sections'
sh 'make px4_sitl_default bloaty_segments'
sh 'make px4_sitl_default bloaty_symbols'
sh 'make px4_sitl_default bloaty_templates'
//sh 'make px4_fmu-v5_default bloaty_compare_master'
sh 'make sizes'
sh 'ccache -s'
}
post {
always {
sh 'make distclean'
}
}
environment {
CCACHE_DISABLE = 1
}
}

stage('No-ninja px4_fmu-v5') {
stage('px4_fmu-v5 (no ninja)') {
agent {
docker {
image 'px4io/px4-dev-nuttx:2019-07-29'
Expand All @@ -188,20 +205,24 @@ pipeline {
sh 'make distclean'
sh 'ccache -z'
sh 'git fetch --tags'
sh 'NO_NINJA_BUILD=1 make px4_fmu-v5_default'
sh 'make px4_fmu-v5_default'
sh 'make sizes'
sh 'ccache -s'
}
post {
always {
sh 'make distclean'
}
}
environment {
NO_NINJA_BUILD = 1
}
}

stage('No-ninja SITL build') {
stage('px4_sitl (no ninja)') {
agent {
docker {
image 'px4io/px4-dev-base-bionic:2019-07-29'
image 'px4io/px4-dev-nuttx:2019-07-29'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand All @@ -210,14 +231,18 @@ pipeline {
sh 'make distclean'
sh 'ccache -z'
sh 'git fetch --tags'
sh 'NO_NINJA_BUILD=1 make px4_sitl_default'
sh 'make px4_sitl_default'
sh 'make sizes'
sh 'ccache -s'
}
post {
always {
sh 'make distclean'
}
}
environment {
NO_NINJA_BUILD = 1
}
}

stage('SITL unit tests') {
Expand Down

0 comments on commit 0c736fc

Please sign in to comment.