summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-01-31 10:38:06 +0100
committerHiFiPhile <[email protected]>2025-01-31 10:38:06 +0100
commitb31036dededa3fe003e1b2d1baabb6eebd167700 (patch)
tree00fd73ffc16e652ba11ddf931b6ebdaaa572f1bf /.github/workflows
parent9cfa328261b82194b924db03535134a4167605d8 (diff)
parenteca025f7143141fd2bc99a94619c62a6fd666f28 (diff)
Merge remote-tracking branch 'upstream/master' into h7rs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 170f73fae..355b6b5c4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -137,3 +137,24 @@ jobs:
- name: Build
run: python3 tools/build.py --one-per-family --toolchain iar $BUILD_ARGS
+
+ # ---------------------------------------
+ # Zephyr
+ # ---------------------------------------
+ zephyr:
+ if: github.event_name == 'push'
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout TinyUSB
+ uses: actions/checkout@v4
+
+ - name: Setup Zephyr project
+ uses: zephyrproject-rtos/action-zephyr-setup@v1
+ with:
+ app-path: examples
+ toolchains: arm-zephyr-eabi
+
+ - name: Build
+ run: |
+ west build -b pca10056 -d examples/device/cdc_msc/build examples/device/cdc_msc -- -DRTOS=zephyr
+ west build -b pca10056 -d examples/device/msc_dual_lun/build examples/device/msc_dual_lun -- -DRTOS=zephyr