mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 10:13:34 +08:00
ci: github: ccpp: use 'matrix' to set the containers to run
This commit is contained in:
@@ -9,18 +9,15 @@ on:
|
|||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_in_ubuntu_bionic:
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
container: [
|
||||||
|
"px4io/px4-dev-base-bionic:2020-03-28",
|
||||||
|
"px4io/px4-dev-base-focal:2020-03-28"
|
||||||
|
]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: px4io/px4-dev-base-bionic:2020-03-28
|
container: ${{ matrix.container }}
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
- name: make
|
|
||||||
run: make
|
|
||||||
build_in_ubuntu_focal:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: px4io/px4-dev-base-focal:2020-03-28
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user