mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
ci: update build container (#25059)
adds lark python dependency #25056 https://github.com/PX4/PX4-Autopilot/pull/25056 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
"failsafe_web",
|
"failsafe_web",
|
||||||
]
|
]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-ondemand
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
||||||
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
|
||||||
|
|||||||
@@ -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:v1.16.0-ondemand
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [px4_fmu-v5x, px4_fmu-v6x]
|
target: [px4_fmu-v5x, px4_fmu-v6x]
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
name: Checking ${{ matrix.target }}
|
name: Checking ${{ 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:v1.16.0-ondemand
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -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:v1.16.0-ondemand
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
||||||
options: -v ${{ github.workspace }}:/workspace
|
options: -v ${{ github.workspace }}:/workspace
|
||||||
run: |
|
run: |
|
||||||
cd /workspace
|
cd /workspace
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ if args.filter:
|
|||||||
for board in args.filter.split(','):
|
for board in args.filter.split(','):
|
||||||
board_filter.append(board)
|
board_filter.append(board)
|
||||||
|
|
||||||
|
default_container = 'ghcr.io/px4/px4-dev:v1.16.0-rc1-258-g0369abd556'
|
||||||
build_configs = []
|
build_configs = []
|
||||||
grouped_targets = {}
|
grouped_targets = {}
|
||||||
excluded_boards = ['modalai_voxl2', 'px4_ros2'] # TODO: fix and enable
|
excluded_boards = ['modalai_voxl2', 'px4_ros2'] # TODO: fix and enable
|
||||||
@@ -86,7 +87,7 @@ def process_target(px4board_file, target_name):
|
|||||||
assert platform, f"PLATFORM not found in {px4board_file}"
|
assert platform, f"PLATFORM not found in {px4board_file}"
|
||||||
|
|
||||||
if platform not in excluded_platforms:
|
if platform not in excluded_platforms:
|
||||||
container = 'ghcr.io/px4/px4-dev:v1.16.0-ondemand'
|
container = default_container
|
||||||
if platform == 'posix':
|
if platform == 'posix':
|
||||||
group = 'base'
|
group = 'base'
|
||||||
if toolchain:
|
if toolchain:
|
||||||
@@ -120,7 +121,7 @@ if(verbose):
|
|||||||
# - Events
|
# - Events
|
||||||
metadata_targets = ['airframe_metadata', 'parameters_metadata', 'extract_events']
|
metadata_targets = ['airframe_metadata', 'parameters_metadata', 'extract_events']
|
||||||
grouped_targets['base'] = {}
|
grouped_targets['base'] = {}
|
||||||
grouped_targets['base']['container'] = 'ghcr.io/px4/px4-dev:v1.16.0-ondemand'
|
grouped_targets['base']['container'] = default_container
|
||||||
grouped_targets['base']['manufacturers'] = {}
|
grouped_targets['base']['manufacturers'] = {}
|
||||||
grouped_targets['base']['manufacturers']['px4'] = []
|
grouped_targets['base']['manufacturers']['px4'] = []
|
||||||
grouped_targets['base']['manufacturers']['px4'] += metadata_targets
|
grouped_targets['base']['manufacturers']['px4'] += metadata_targets
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ fi
|
|||||||
|
|
||||||
# otherwise default to nuttx
|
# otherwise default to nuttx
|
||||||
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev:v1.16.0-ondemand"
|
PX4_DOCKER_REPO="px4io/px4-dev:v1.16.0-rc1-258-g0369abd556"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "PX4_DOCKER_REPO: $PX4_DOCKER_REPO";
|
echo "PX4_DOCKER_REPO: $PX4_DOCKER_REPO";
|
||||||
|
|||||||
Reference in New Issue
Block a user