mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 21:37:35 +08:00
Github Actions: improve the container matrix usage
This commit is contained in:
@@ -13,9 +13,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
container: [
|
||||
"px4io/px4-dev-nuttx-bionic:2020-03-29",
|
||||
"px4io/px4-dev-nuttx-focal:2020-03-29"
|
||||
ubuntu_release: [
|
||||
bionic,
|
||||
focal
|
||||
]
|
||||
config: [
|
||||
px4_fmu-v2_default,
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
px4_fmu-v5x_default,
|
||||
px4_io-v2_default,
|
||||
]
|
||||
container: ${{ matrix.container }}
|
||||
container: px4io/px4-dev-nuttx-${{ matrix.ubuntu_release }}:2020-03-29
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
|
||||
@@ -13,11 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
container: [
|
||||
"px4io/px4-dev-base-bionic:2020-03-29",
|
||||
"px4io/px4-dev-base-focal:2020-03-29"
|
||||
ubuntu_release: [
|
||||
bionic,
|
||||
focal
|
||||
]
|
||||
container: ${{ matrix.container }}
|
||||
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-03-29
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
|
||||
@@ -10,14 +10,14 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
container: [
|
||||
"px4io/px4-dev-base-bionic:2020-03-29",
|
||||
"px4io/px4-dev-base-focal:2020-03-29"
|
||||
ubuntu_release: [
|
||||
bionic,
|
||||
focal
|
||||
]
|
||||
runs-on: ubuntu-latest
|
||||
container: ${{ matrix.container }}
|
||||
container: px4io/px4-dev-base-${{ matrix.ubuntu_release }}:2020-03-29
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user