mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
.github: run test in privilege container to allow PTRACE
This commit is contained in:
parent
f4e6d63a7c
commit
617ee37392
8
.github/workflows/test_sitl_copter.yml
vendored
8
.github/workflows/test_sitl_copter.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
|||||||
autotest:
|
autotest:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # don't cancel if a job from the matrix fails
|
fail-fast: false # don't cancel if a job from the matrix fails
|
||||||
matrix:
|
matrix:
|
||||||
@ -124,7 +126,9 @@ jobs:
|
|||||||
build-gcc-heli:
|
build-gcc-heli:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
steps:
|
steps:
|
||||||
# git checkout the PR
|
# git checkout the PR
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
4
.github/workflows/test_sitl_plane.yml
vendored
4
.github/workflows/test_sitl_plane.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
|||||||
autotest:
|
autotest:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # don't cancel if a job from the matrix fails
|
fail-fast: false # don't cancel if a job from the matrix fails
|
||||||
matrix:
|
matrix:
|
||||||
|
4
.github/workflows/test_sitl_rover.yml
vendored
4
.github/workflows/test_sitl_rover.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
|||||||
autotest:
|
autotest:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # don't cancel if a job from the matrix fails
|
fail-fast: false # don't cancel if a job from the matrix fails
|
||||||
matrix:
|
matrix:
|
||||||
|
4
.github/workflows/test_sitl_sub.yml
vendored
4
.github/workflows/test_sitl_sub.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
|||||||
autotest:
|
autotest:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # don't cancel if a job from the matrix fails
|
fail-fast: false # don't cancel if a job from the matrix fails
|
||||||
matrix:
|
matrix:
|
||||||
|
4
.github/workflows/test_sitl_tracker.yml
vendored
4
.github/workflows/test_sitl_tracker.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
|||||||
autotest:
|
autotest:
|
||||||
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container:
|
||||||
|
image: ardupilot/ardupilot-dev-base:latest
|
||||||
|
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false # don't cancel if a job from the matrix fails
|
fail-fast: false # don't cancel if a job from the matrix fails
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user