mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -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:
|
||||
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
|
||||
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:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
@ -124,7 +126,9 @@ jobs:
|
||||
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
|
||||
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:
|
||||
# git checkout the PR
|
||||
- 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:
|
||||
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
|
||||
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:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
|
4
.github/workflows/test_sitl_rover.yml
vendored
4
.github/workflows/test_sitl_rover.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
||||
autotest:
|
||||
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
|
||||
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:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
|
4
.github/workflows/test_sitl_sub.yml
vendored
4
.github/workflows/test_sitl_sub.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
||||
autotest:
|
||||
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
|
||||
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:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
|
4
.github/workflows/test_sitl_tracker.yml
vendored
4
.github/workflows/test_sitl_tracker.yml
vendored
@ -58,7 +58,9 @@ jobs:
|
||||
autotest:
|
||||
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
|
||||
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:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
|
Loading…
Reference in New Issue
Block a user