diff options
| author | Ha Thach <[email protected]> | 2025-01-26 00:24:25 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-26 00:24:25 +0700 |
| commit | 0d4f945bdce5bbe47feab51b2a77a26f30aac0bd (patch) | |
| tree | ae8b33a10bf1a13b70de459796da9f78494e6b19 /.github | |
| parent | 37e6f496197e0bc35ca0f71cfef80c19be273ca3 (diff) | |
| parent | 882cb1406d19a3a16d530ec8bd5d8fb7571a4eef (diff) | |
Merge pull request #2962 from hathach/zephyr-support
Initial Zephyr support
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 21 |
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 |
