ci: use dev-container for nuttx targets

This commit is contained in:
alexcekay
2025-05-16 09:54:49 -07:00
committed by Ramon Roche
parent d1ff1a4c1d
commit c1ffdc8e3e
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
"failsafe_web", "failsafe_web",
] ]
container: 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 options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
steps: steps:
- name: Install Node v20.18.0 - name: Install Node v20.18.0
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
name: Analyzing ${{ matrix.target }} name: Analyzing ${{ matrix.target }}
runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false] runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
container: container:
image: px4io/px4-dev-nuttx-focal image: px4io/px4-dev:v1.16.0-ondemand
strategy: strategy:
matrix: matrix:
target: [px4_fmu-v5x, px4_fmu-v6x] target: [px4_fmu-v5x, px4_fmu-v6x]
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
- name: Build PX4 and Run Test [${{ matrix.config }}] - name: Build PX4 and Run Test [${{ matrix.config }}]
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
with: with:
image: px4io/px4-dev-nuttx-focal:2022-08-12 image: px4io/px4-dev:v1.16.0-ondemand
options: -v ${{ github.workspace }}:/workspace options: -v ${{ github.workspace }}:/workspace
run: | run: |
cd /workspace cd /workspace
+1 -2
View File
@@ -105,8 +105,7 @@ def process_target(px4board_file, target_name):
else: else:
if verbose: print(f'unmatched toolchain: {toolchain}') if verbose: print(f'unmatched toolchain: {toolchain}')
elif platform == 'nuttx': elif platform == 'nuttx':
# TODO remove once newer container is validated container = 'px4io/px4-dev:v1.16.0-ondemand'
container = 'px4io/px4-dev-nuttx-focal:2022-08-12'
group = 'nuttx' group = 'nuttx'
else: else:
if verbose: print(f'unmatched platform: {platform}') if verbose: print(f'unmatched platform: {platform}')