Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build tools: bring GNU Arm Embedded Toolchain Version 9 to CI and setup scripts #14691

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile-SITL_tests
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipeline {
stage('Build') {
agent {
docker {
image 'px4io/px4-dev-ros-melodic:2020-04-01'
image 'px4io/px4-dev-ros-melodic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
}
}
Expand Down Expand Up @@ -133,7 +133,7 @@ def createTestNode(Map test_def) {
return {
node {
cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2020-04-01").inside('-e HOME=${WORKSPACE}') {
docker.image("px4io/px4-dev-ros-melodic:2020-05-28").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) {
def run_script = test_def.get('run_script', 'rostest_px4_run.sh')
def test_ok = true
Expand Down
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile-SITL_tests_ASan
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipeline {
stage('Build') {
agent {
docker {
image 'px4io/px4-dev-ros-melodic:2020-04-01'
image 'px4io/px4-dev-ros-melodic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
}
}
Expand Down Expand Up @@ -134,7 +134,7 @@ def createTestNode(Map test_def) {
return {
node {
cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2020-04-01").inside('-e HOME=${WORKSPACE}') {
docker.image("px4io/px4-dev-ros-melodic:2020-05-28").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) {
def run_script = test_def.get('run_script', 'rostest_px4_run.sh')
def test_ok = true
Expand Down
6 changes: 3 additions & 3 deletions .ci/Jenkinsfile-SITL_tests_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pipeline {
stage('code coverage (python)') {
agent {
docker {
image 'px4io/px4-dev-base-bionic:2020-04-01'
image 'px4io/px4-dev-base-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand All @@ -116,7 +116,7 @@ pipeline {
stage('unit tests') {
agent {
docker {
image 'px4io/px4-dev-base-bionic:2020-04-01'
image 'px4io/px4-dev-base-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -154,7 +154,7 @@ def createTestNode(Map test_def) {
return {
node {
cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2020-04-01").inside('-e HOME=${WORKSPACE}') {
docker.image("px4io/px4-dev-ros-melodic:2020-05-28").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) {
def test_ok = true
sh('export')
Expand Down
12 changes: 6 additions & 6 deletions .ci/Jenkinsfile-compile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ pipeline {
script {
def build_nodes = [:]
def docker_images = [
armhf: "px4io/px4-dev-armhf:2020-04-01",
base: "px4io/px4-dev-base-bionic:2020-04-01",
nuttx: "px4io/px4-dev-nuttx-bionic:2020-04-01",
snapdragon: "lorenzmeier/px4-dev-snapdragon:2020-04-01"
armhf: "px4io/px4-dev-armhf:2020-05-28",
base: "px4io/px4-dev-base-bionic:2020-05-28",
nuttx: "px4io/px4-dev-nuttx-bionic:2020-05-28",
snapdragon: "lorenzmeier/px4-dev-snapdragon:2020-05-28"
]

def armhf_builds = [
Expand Down Expand Up @@ -101,7 +101,7 @@ pipeline {
// TODO: actually upload artifacts to S3
// stage('S3 Upload') {
// agent {
// docker { image 'px4io/px4-dev-base-bionic:2020-04-01' }
// docker { image 'px4io/px4-dev-base-bionic:2020-05-28' }
// }
// options {
// skipDefaultCheckout()
Expand Down Expand Up @@ -135,7 +135,7 @@ def createBuildNode(Boolean archive, String docker_image, String target) {

// TODO: fix the snapdragon image
bypass_entrypoint = ''
if (docker_image == 'lorenzmeier/px4-dev-snapdragon:2020-04-01') {
if (docker_image == 'lorenzmeier/px4-dev-snapdragon:2020-05-28') {
bypass_entrypoint = ' --entrypoint=""'
}

Expand Down
20 changes: 10 additions & 10 deletions .ci/Jenkinsfile-hardware
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipeline {
stage("build px4_fmu-v2_test") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -80,7 +80,7 @@ pipeline {
stage("build px4_fmu-v3_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -154,7 +154,7 @@ pipeline {
stage("build px4_fmu-v4_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -227,7 +227,7 @@ pipeline {
stage("build px4_fmu-v4pro_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -301,7 +301,7 @@ pipeline {
stage("build px4_fmu-v5_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -375,7 +375,7 @@ pipeline {
stage("build px4_fmu-v5_optimized") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -448,7 +448,7 @@ pipeline {
stage("build px4_fmu-v5_stackcheck") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -523,7 +523,7 @@ pipeline {
stage("build modalai_fc-v1_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -596,7 +596,7 @@ pipeline {
stage("build holybro_durandal-v1_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down Expand Up @@ -671,7 +671,7 @@ pipeline {
stage("build nxp_fmuk66-v3_default") {
agent {
docker {
image 'px4io/px4-dev-nuttx-bionic:2020-04-01'
image 'px4io/px4-dev-nuttx-bionic:2020-05-28'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: px4io/px4-dev-nuttx-bionic:2020-04-01
- image: px4io/px4-dev-nuttx-bionic:2020-05-28
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bloaty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
px4_fmu-v5x_default,
px4_io-v2_default,
]
container: px4io/px4-dev-nuttx-${{ matrix.ubuntu_release }}:2020-04-01
container: px4io/px4-dev-nuttx-${{ matrix.ubuntu_release }}:2020-05-28
steps:
- uses: actions/checkout@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
bionic,
focal
]
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-04-01
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-05-28
steps:
- uses: actions/checkout@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
bionic,
focal
]
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-04-01
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-05-28
steps:
- uses: actions/checkout@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: px4io/px4-dev-armhf:2020-04-01
container: px4io/px4-dev-armhf:2020-05-28
strategy:
matrix:
config: [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_nuttx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: px4io/px4-dev-nuttx-bionic:2020-04-01
container: px4io/px4-dev-nuttx-bionic:2020-05-28
strategy:
matrix:
config: [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sitl_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
focal
]
container:
image: px4io/px4-dev-simulation-${{ matrix.ubuntu_release }}:2020-04-01
image: px4io/px4-dev-simulation-${{ matrix.ubuntu_release }}:2020-05-28
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v1
Expand Down
Loading