This action initializes a Zephyr based project, downloading the Zephyr SDK and the necessary modules for a West based Zephyr workspace application.
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: example-application
toolchains: arm-zephyr-eabi
- name: Checkout
uses: actions/checkout@v3
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: app
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build app
- name: Checkout
uses: actions/checkout@v3
with:
path: app
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: app
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build app
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: app
toolchains: arm-zephyr-eabi:riscv64-zephyr-elf
sdk-version: 0.16.3
- name: Setup Zephyr project
uses: zephyrproject-rtos/zephyr-setup@v1
with:
app-path: app
toolchains: arm-zephyr-eabi
manifest-file-name: custom_west.yml