mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ci: use dev-container for nuttx targets
This commit is contained in:
parent
d1ff1a4c1d
commit
c1ffdc8e3e
2
.github/workflows/failsafe_sim.yml
vendored
2
.github/workflows/failsafe_sim.yml
vendored
@ -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
|
||||
|
||||
2
.github/workflows/flash_analysis.yml
vendored
2
.github/workflows/flash_analysis.yml
vendored
@ -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]
|
||||
|
||||
2
.github/workflows/nuttx_env_config.yml
vendored
2
.github/workflows/nuttx_env_config.yml
vendored
@ -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
|
||||
|
||||
@ -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}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user