ci: github: ccpp: use 'matrix' to set the containers to run

This commit is contained in:
TSC21 2020-03-29 15:28:29 +01:00 committed by Nuno Marques
parent 947219db7f
commit cdbdb2f72c
1 changed files with 8 additions and 11 deletions

View File

@ -9,18 +9,15 @@ on:
- '*'
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
container: px4io/px4-dev-base-bionic:2020-03-28
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
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v1
with: