diff --git a/Jenkinsfile b/Jenkinsfile index 9ad4afb271..293a633b5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { builds["${node_name}"] = { node { stage("Build Test ${node_name}") { - docker.image('px4io/px4-dev-nuttx:2017-10-23').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { + docker.image('px4io/px4-dev-nuttx:2017-12-30').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { stage("${node_name}") { checkout scm sh "make distclean" @@ -38,7 +38,7 @@ pipeline { builds["px4fmu-v2"] = { node { stage("Build Test ${node_name}") { - docker.image('px4io/px4-dev-nuttx:2017-10-23').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { + docker.image('px4io/px4-dev-nuttx:2017-12-30').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { stage("${node_name}") { checkout scm sh "make distclean" @@ -66,7 +66,7 @@ pipeline { builds["${node_name}"] = { node { stage("Build Test ${node_name}") { - docker.image('px4io/px4-dev-nuttx:2017-10-23').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { + docker.image('px4io/px4-dev-nuttx:2017-12-30').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { stage("${node_name}") { checkout scm sh "make distclean" @@ -91,7 +91,7 @@ pipeline { builds["${node_name}"] = { node { stage("Build Test ${node_name}") { - docker.image('px4io/px4-dev-nuttx:2017-10-23').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { + docker.image('px4io/px4-dev-nuttx:2017-12-30').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { stage("${node_name}") { checkout scm sh "make distclean" @@ -218,27 +218,6 @@ pipeline { } } - // GCC7 nuttx - for (def option in ["px4fmu-v5_default"]) { - def node_name = "${option}" - - builds["${node_name} (GCC7)"] = { - node { - stage("Build Test ${node_name} (GCC7)") { - docker.image('px4io/px4-dev-base-archlinux:2017-12-08').inside('-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw') { - stage("${node_name}") { - checkout scm - sh "make distclean" - sh "ccache -z" - sh "make nuttx_${node_name}" - sh "ccache -s" - } - } - } - } - } - } - parallel builds } } @@ -598,29 +577,6 @@ pipeline { } } - // temporarily disabled until stable - //stage('tests coverage') { - // agent { - // docker { - // image 'px4io/px4-dev-base:2017-12-30' - // args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw' - // } - // } - // steps { - // sh 'make distclean' - // sh 'make tests_coverage' - // // publish html - // publishHTML target: [ - // allowMissing: false, - // alwaysLinkToLastBuild: false, - // keepAll: true, - // reportDir: 'build/posix_sitl_default/coverage-html', - // reportFiles: '*', - // reportName: 'Coverage Report' - // ] - // } - //} - } } diff --git a/Tools/docker_run.sh b/Tools/docker_run.sh index 9d00383e28..76a5cc4f51 100755 --- a/Tools/docker_run.sh +++ b/Tools/docker_run.sh @@ -4,7 +4,7 @@ if [ -z ${PX4_DOCKER_REPO+x} ]; then echo "guessing PX4_DOCKER_REPO based on input"; if [[ $@ =~ .*px4fmu.* ]]; then # nuttx-px4fmu-v{1,2,3,4,5} - PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-10-23" + PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-12-30" elif [[ $@ =~ .*rpi.* ]] || [[ $@ =~ .*bebop.* ]]; then # posix_rpi_cross, posix_bebop_default PX4_DOCKER_REPO="px4io/px4-dev-raspi:2017-12-30" @@ -30,7 +30,7 @@ fi # otherwise default to nuttx if [ -z ${PX4_DOCKER_REPO+x} ]; then - PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-10-23" + PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2017-12-30" fi # docker hygiene diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 54f553ba40..248f026863 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -332,6 +332,8 @@ function(px4_add_common_flags) -Wunknown-pragmas -Wunused-variable + -Wno-implicit-fallthrough # set appropriate level and update + -Wno-unused-parameter ) diff --git a/msg/templates/urtps/microRTPS_transport.h b/msg/templates/urtps/microRTPS_transport.h index e2d5c245c7..5ef27e5d28 100644 --- a/msg/templates/urtps/microRTPS_transport.h +++ b/msg/templates/urtps/microRTPS_transport.h @@ -32,7 +32,6 @@ #pragma once -#include #include #include #include