ci: use dev-container for nuttx targets

This commit is contained in:
alexcekay 2025-05-12 13:34:00 +02:00 committed by Ramon Roche
parent d1ff1a4c1d
commit c1ffdc8e3e
4 changed files with 4 additions and 5 deletions

View File

@ -27,7 +27,7 @@ jobs:
"failsafe_web",
]
container:
image: px4io/px4-dev-nuttx-focal:2022-08-12
image: px4io/px4-dev:v1.16.0-ondemand
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
steps:
- name: Install Node v20.18.0

View File

@ -28,7 +28,7 @@ jobs:
name: Analyzing ${{ matrix.target }}
runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
container:
image: px4io/px4-dev-nuttx-focal
image: px4io/px4-dev:v1.16.0-ondemand
strategy:
matrix:
target: [px4_fmu-v5x, px4_fmu-v6x]

View File

@ -31,7 +31,7 @@ jobs:
- name: Build PX4 and Run Test [${{ matrix.config }}]
uses: addnab/docker-run-action@v3
with:
image: px4io/px4-dev-nuttx-focal:2022-08-12
image: px4io/px4-dev:v1.16.0-ondemand
options: -v ${{ github.workspace }}:/workspace
run: |
cd /workspace

View File

@ -105,8 +105,7 @@ def process_target(px4board_file, target_name):
else:
if verbose: print(f'unmatched toolchain: {toolchain}')
elif platform == 'nuttx':
# TODO remove once newer container is validated
container = 'px4io/px4-dev-nuttx-focal:2022-08-12'
container = 'px4io/px4-dev:v1.16.0-ondemand'
group = 'nuttx'
else:
if verbose: print(f'unmatched platform: {platform}')