|
@@ -1,6 +1,12 @@
|
|
|
name: Build
|
|
name: Build
|
|
|
|
|
|
|
|
-on: [pull_request, push, repository_dispatch]
|
|
|
|
|
|
|
+on:
|
|
|
|
|
+ pull_request:
|
|
|
|
|
+ push:
|
|
|
|
|
+ repository_dispatch:
|
|
|
|
|
+ release:
|
|
|
|
|
+ types:
|
|
|
|
|
+ - created
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
# Unit testing with Ceedling
|
|
# Unit testing with Ceedling
|
|
@@ -27,6 +33,7 @@ jobs:
|
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
matrix:
|
|
matrix:
|
|
|
family:
|
|
family:
|
|
|
|
|
+ # Alphabetical order
|
|
|
- 'imxrt'
|
|
- 'imxrt'
|
|
|
- 'nrf'
|
|
- 'nrf'
|
|
|
- 'rp2040'
|
|
- 'rp2040'
|
|
@@ -64,9 +71,8 @@ jobs:
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
- uses: actions/upload-artifact@v2
|
|
|
with:
|
|
with:
|
|
|
- name: tinyusb-${{ matrix.family }}
|
|
|
|
|
|
|
+ name: ${{ matrix.family }}-tinyusb-examples
|
|
|
path: _bin/
|
|
path: _bin/
|
|
|
- #TODO upload release assest upload
|
|
|
|
|
|
|
|
|
|
# Build all no-family (opharned) boards
|
|
# Build all no-family (opharned) boards
|
|
|
build-board:
|
|
build-board:
|
|
@@ -75,6 +81,7 @@ jobs:
|
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
matrix:
|
|
matrix:
|
|
|
example:
|
|
example:
|
|
|
|
|
+ # Alphabetical order
|
|
|
- 'device/audio_test'
|
|
- 'device/audio_test'
|
|
|
- 'device/board_test'
|
|
- 'device/board_test'
|
|
|
- 'device/cdc_dual_ports'
|
|
- 'device/cdc_dual_ports'
|
|
@@ -151,6 +158,7 @@ jobs:
|
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
matrix:
|
|
matrix:
|
|
|
board:
|
|
board:
|
|
|
|
|
+ # Alphabetical order
|
|
|
- 'espressif_kaluga_1'
|
|
- 'espressif_kaluga_1'
|
|
|
- 'espressif_saola_1'
|
|
- 'espressif_saola_1'
|
|
|
|
|
|