mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
.github: use ubuntu-22.04 instead of ubuntu-latest
This commit is contained in:
parent
35b2463069
commit
d620a1905a
2
.github/workflows/cache_cleanup.yml
vendored
2
.github/workflows/cache_cleanup.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
# `actions:write` permission is required to delete caches
|
||||
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
|
||||
|
2
.github/workflows/esp32_build.yml
vendored
2
.github/workflows/esp32_build.yml
vendored
@ -145,7 +145,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
matrix:
|
||||
|
2
.github/workflows/test_ccache.yml
vendored
2
.github/workflows/test_ccache.yml
vendored
@ -125,7 +125,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
2
.github/workflows/test_chibios.yml
vendored
2
.github/workflows/test_chibios.yml
vendored
@ -133,7 +133,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
4
.github/workflows/test_coverage.yml
vendored
4
.github/workflows/test_coverage.yml
vendored
@ -13,7 +13,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-${{ matrix.type }}:v0.1.0
|
||||
options: --privileged
|
||||
@ -91,7 +91,7 @@ jobs:
|
||||
finish:
|
||||
if: always()
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@master
|
||||
|
2
.github/workflows/test_dds.yml
vendored
2
.github/workflows/test_dds.yml
vendored
@ -139,7 +139,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-ros:latest
|
||||
options: --user 1001
|
||||
|
2
.github/workflows/test_environment.yml
vendored
2
.github/workflows/test_environment.yml
vendored
@ -20,7 +20,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ${{matrix.os}}:${{matrix.name}}
|
||||
options: --privileged
|
||||
|
2
.github/workflows/test_linux_sbc.yml
vendored
2
.github/workflows/test_linux_sbc.yml
vendored
@ -134,7 +134,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
2
.github/workflows/test_replay.yml
vendored
2
.github/workflows/test_replay.yml
vendored
@ -147,7 +147,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
2
.github/workflows/test_scripting.yml
vendored
2
.github/workflows/test_scripting.yml
vendored
@ -21,7 +21,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
test-scripting:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
steps:
|
||||
# git checkout the PR
|
||||
|
2
.github/workflows/test_scripts.yml
vendored
2
.github/workflows/test_scripts.yml
vendored
@ -8,7 +8,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
8
.github/workflows/test_sitl_copter.yml
vendored
8
.github/workflows/test_sitl_copter.yml
vendored
@ -160,7 +160,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
@ -205,7 +205,7 @@ 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-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
@ -273,7 +273,7 @@ jobs:
|
||||
retention-days: 7
|
||||
|
||||
build-gcc-heli:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
@ -309,7 +309,7 @@ jobs:
|
||||
|
||||
autotest-heli:
|
||||
needs: build-gcc-heli # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
4
.github/workflows/test_sitl_periph.yml
vendored
4
.github/workflows/test_sitl_periph.yml
vendored
@ -159,7 +159,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-gcc-ap_periph:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-periph:v0.1.0
|
||||
steps:
|
||||
# git checkout the PR
|
||||
@ -199,7 +199,7 @@ jobs:
|
||||
|
||||
autotest-can:
|
||||
needs: build-gcc-ap_periph # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-periph:v0.1.0
|
||||
options: --privileged
|
||||
|
4
.github/workflows/test_sitl_plane.yml
vendored
4
.github/workflows/test_sitl_plane.yml
vendored
@ -161,7 +161,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
@ -206,7 +206,7 @@ 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-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
|
4
.github/workflows/test_sitl_rover.yml
vendored
4
.github/workflows/test_sitl_rover.yml
vendored
@ -160,7 +160,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
@ -205,7 +205,7 @@ 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-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
|
4
.github/workflows/test_sitl_sub.yml
vendored
4
.github/workflows/test_sitl_sub.yml
vendored
@ -163,7 +163,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
@ -208,7 +208,7 @@ 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-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
|
4
.github/workflows/test_sitl_tracker.yml
vendored
4
.github/workflows/test_sitl_tracker.yml
vendored
@ -163,7 +163,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
@ -208,7 +208,7 @@ 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-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-base:v0.1.0
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
|
2
.github/workflows/test_size.yml
vendored
2
.github/workflows/test_size.yml
vendored
@ -60,7 +60,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
strategy:
|
||||
fail-fast: false # don't cancel if a job from the matrix fails
|
||||
|
2
.github/workflows/test_unit_tests.yml
vendored
2
.github/workflows/test_unit_tests.yml
vendored
@ -99,7 +99,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.0
|
||||
options: --user 1001
|
||||
|
Loading…
Reference in New Issue
Block a user