mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Github Actions: improve the container matrix usage
This commit is contained in:
parent
40a99f940a
commit
5b03f80376
8
.github/workflows/bloaty.yml
vendored
8
.github/workflows/bloaty.yml
vendored
@ -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:
|
||||
|
||||
8
.github/workflows/build_tests.yml
vendored
8
.github/workflows/build_tests.yml
vendored
@ -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
.github/workflows/ccpp.yml
vendored
10
.github/workflows/ccpp.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user