mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: MAVROS Mission Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false,extras=s3-cache]
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: runs-on/action@v2
|
|
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Build SITL and Run Tests (inside old ROS container)
|
|
run: |
|
|
docker run --rm \
|
|
-v "${GITHUB_WORKSPACE}:/workspace" \
|
|
-w /workspace \
|
|
px4io/px4-dev-ros-melodic:2021-09-08 \
|
|
bash -c '
|
|
git config --global --add safe.directory /workspace
|
|
PX4_SBOM_DISABLE=1 make px4_sitl_default
|
|
PX4_SBOM_DISABLE=1 make px4_sitl_default sitl_gazebo-classic
|
|
./test/rostest_px4_run.sh \
|
|
mavros_posix_test_mission.test \
|
|
mission:=MC_mission_box \
|
|
vehicle:=iris
|
|
'
|