mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
Use matrix strategy
This commit is contained in:
parent
db45f2c618
commit
82196d4504
1 changed files with 15 additions and 13 deletions
28
.github/workflows/actions.yml
vendored
28
.github/workflows/actions.yml
vendored
|
@ -8,6 +8,16 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
target:
|
||||||
|
- COMPANION
|
||||||
|
- ARM9X
|
||||||
|
- X9LITE
|
||||||
|
- X7
|
||||||
|
- XLITE
|
||||||
|
- X9
|
||||||
|
- COLORLCD
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/raphaelcoeffic/opentx-commit-tests
|
image: ghcr.io/raphaelcoeffic/opentx-commit-tests
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -19,17 +29,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
-
|
-
|
||||||
name: Test COMPANION
|
name: Test ${{ matrix.target }}
|
||||||
|
env:
|
||||||
|
FLAVOR: ${{ matrix.target }}
|
||||||
run: |
|
run: |
|
||||||
echo "Running commit tests for COMPANION"
|
echo "Running commit tests"
|
||||||
FLAVOR=COMPANION ./tools/commit-tests.sh
|
./tools/commit-tests.sh
|
||||||
-
|
|
||||||
name: Test COLORLCD
|
|
||||||
run: |
|
|
||||||
echo "Running commit tests for COLORLCD"
|
|
||||||
FLAVOR=COLORLCD ./tools/commit-tests.sh
|
|
||||||
-
|
|
||||||
name: Test X7
|
|
||||||
run: |
|
|
||||||
echo "Running commit tests for X7"
|
|
||||||
FLAVOR=X7 ./tools/commit-tests.sh
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue