This actions 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: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi
- name: Checkout
uses: actions/checkout@v3
- name: Setup Zephyr project
uses: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build app
- name: Checkout
uses: actions/checkout@v3
with:
path: app
- name: Setup Zephyr project
uses: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build app
- name: Setup Zephyr project
uses: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi:riscv64-zephyr-elf
sdk-version: 0.16.3
- name: Setup Zephyr project
uses: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi:riscv64-zephyr-elf
sdk-version: 0.16.3
zephyr-version: v3.5.0
If you set opetion manifest-file:
- zephyr-version
wiil be ignored and init env from parametrs from manifest file.
- name: Setup Zephyr project
uses: <TODO>/zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi:riscv64-zephyr-elf
sdk-version: 0.16.3
manifest-file: <path to file in project>
zephyr-version: v3.5.0