summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-01-26 23:11:52 +0700
committerGitHub <[email protected]>2021-01-26 23:11:52 +0700
commit40870f9037126b2ec63993963c2b1373974ed92c (patch)
tree400e5ae1e6ff0f07bef2f6a4421776f6e07cb3d7 /.github/workflows
parent045674745afa59028fbeed6dac5cb5a9c4a6033e (diff)
parentf1867b3d2caeafccc5fc70b98601979a5fa75de9 (diff)
Merge pull request #606 from hathach/upload-binary-artifacts
Upload binary artifacts
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bf1c63d3f..37cc4c40d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,6 +1,12 @@
name: Build
-on: [pull_request, push, repository_dispatch]
+on:
+ pull_request:
+ push:
+ repository_dispatch:
+ release:
+ types:
+ - created
jobs:
# Unit testing with Ceedling
@@ -27,6 +33,7 @@ jobs:
fail-fast: false
matrix:
family:
+ # Alphabetical order
- 'imxrt'
- 'nrf'
- 'rp2040'
@@ -62,6 +69,11 @@ jobs:
- name: Build
run: python3 tools/build_family.py ${{ matrix.family }}
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ matrix.family }}-tinyusb-examples
+ path: _bin/
+
# Build all no-family (opharned) boards
build-board:
runs-on: ubuntu-latest
@@ -69,6 +81,7 @@ jobs:
fail-fast: false
matrix:
example:
+ # Alphabetical order
- 'device/audio_test'
- 'device/board_test'
- 'device/cdc_dual_ports'
@@ -145,6 +158,7 @@ jobs:
fail-fast: false
matrix:
board:
+ # Alphabetical order
- 'espressif_kaluga_1'
- 'espressif_saola_1'