.github: migrate to ardupilot image

This commit is contained in:
Pierre Kancir 2021-01-05 22:42:06 +01:00 committed by Andrew Tridgell
parent 496267115c
commit a564d58dda
10 changed files with 18 additions and 18 deletions

View File

@ -9,7 +9,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:
@ -58,7 +58,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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 +124,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
steps: steps:
# git checkout the PR # git checkout the PR
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -163,7 +163,7 @@ jobs:
autotest-heli: 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 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-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build-gcc-ap_periph: build-gcc-ap_periph:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
steps: steps:
# git checkout the PR # git checkout the PR
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -54,7 +54,7 @@ jobs:
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 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-20.04 runs-on: ubuntu-20.04
container: container:
image: khancyr/ardupilot-dev-base:latest image: ardupilot/ardupilot-dev-base:latest
options: --privileged options: --privileged
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

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:
@ -58,7 +58,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:
@ -58,7 +58,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:
@ -58,7 +58,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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:
@ -58,7 +58,7 @@ 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: khancyr/ardupilot-dev-base:latest container: ardupilot/ardupilot-dev-base:latest
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:

View File

@ -8,7 +8,7 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-${{ matrix.toolchain }}:latest container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:latest
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: