summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-01-27 19:27:47 +0100
committerGitHub <[email protected]>2025-01-27 19:27:47 +0100
commit67f0d610e5f6b1dea079df88da503eb4c3681f71 (patch)
tree32d45e03cf12c2986ae305b031b2cb35b0cb7227 /.github/workflows
parent5ca38228308271dda7fdcdeb085de9bb4d6d8f6a (diff)
parent0d4f945bdce5bbe47feab51b2a77a26f30aac0bd (diff)
Merge branch 'master' into master
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