Add capability to build more firmwares than scheduled for tests (#510)

* Add capability to build more firmwares than scheduled for tests

* Fixed casing for tx16s-fs target

* Fixed target names in YAML & added new ones to fw.json

* Remove unsupported "autoupdate"

* Update nightly targets
This commit is contained in:
Raphael Coeffic
2021-09-19 19:44:25 +10:00
committed by GitHub
parent 4c1af2bf36
commit 4546f885ec
4 changed files with 185 additions and 150 deletions
+64 -33
View File
@@ -3,23 +3,22 @@ name: Run tests and package firmware
on:
push:
branches:
- '2.4'
- 'main'
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- 'companion/**'
pull_request:
branches:
- '2.4'
- 'main'
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- 'companion/**'
create:
- '2.4'
- 'main'
tags:
- v*
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- 'companion/**'
pull_request:
branches:
- '2.4'
- 'main'
paths-ignore:
- '**.md'
- '.github/ISSUE_TEMPLATE/**'
- 'companion/**'
jobs:
test:
@@ -28,24 +27,24 @@ jobs:
strategy:
matrix:
target:
- NV14
- T12
- T16
- T18
- T8
- TLITE
- TX12
- TX16S
- X10
- X12S
- X7
- X9D
- X9DP
- X9DP2019
- X9LITE
- X9LITES
- XLITE
- XLITES
- nv14
- t12
- t16
- t18
- t8
- tlite
- tx12
- tx16s
- x10
- x12s
- x7
- x9d
- x9dp
- x9dp2019
- x9lite
- x9lites
- xlite
- xlites
container:
image: ghcr.io/edgetx/edgetx-commit-tests
volumes:
@@ -64,6 +63,38 @@ jobs:
echo "Running commit tests"
./tools/commit-tests.sh
build:
name: Run builds
needs: test
runs-on: ubuntu-latest
strategy:
matrix:
target:
- nv14
- t12
- t16
- t18
- t8
- tlite
- tx12
- tx16s
- x10;x10-access
- x12s
- x7;x7-access
- x9d;x9dp;x9dp2019
- x9lite;x9lites
- xlite;xlites
container:
image: ghcr.io/edgetx/edgetx-commit-tests
volumes:
- ${{ github.workspace }}:/src
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build ${{ matrix.target }}
env:
FLAVOR: ${{ matrix.target }}
+14 -18
View File
@@ -18,24 +18,20 @@ jobs:
strategy:
matrix:
target:
- NV14
- T12
- T16
- T18
- T8
- TLITE
- TX12
- TX16S
- X10
- X12S
- X7
- X9D
- X9DP
- X9DP2019
- X9LITE
- X9LITES
- XLITE
- XLITES
- nv14
- t12
- t16
- t18
- t8
- tlite
- tx12
- tx16s
- x10;x10-access
- x12s
- x7;x7-access
- x9d;x9dp;x9dp2019
- x9lite;x9lites
- xlite;xlites
container:
image: ghcr.io/edgetx/edgetx-commit-tests
volumes: