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