Zephyr main Branch Integration #236
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zephyr main Branch Integration | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' # Every day | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/zephyrproject-rtos/ci:v0.26.6 | |
env: | |
CMAKE_PREFIX_PATH: /opt/toolchains | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: otterpill_zephyr | |
- name: Initialize | |
run: | | |
pwd | |
ls -lah | |
west init . | |
west update -o=--depth=1 -n | |
- name: Build samples for otterpill | |
env: | |
EXTRA_ZEPHYR_MODULES: ${{ github.workspace }}/otterpill_zephyr | |
run: | | |
echo $EXTRA_ZEPHYR_MODULES | |
west twister --build-only --inline-logs --testsuite-root zephyr/samples --platform otterpill --board-root otterpill_zephyr/boards |