Skip to content

Build

Build #41

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 10 * * *"
jobs:
build:
runs-on: ubuntu-24.04
container: ghcr.io/zephyrproject-rtos/ci:v0.28.3
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Set path
run: |
echo "/github/home/.local/bin" >> $GITHUB_PATH
- name: Install Dependencies
run: |
wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository --no-update --yes "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
apt update
apt install pipx python3-poetry curl clang-format-18 -y
- name: Checkout
uses: actions/checkout@v3
with:
path: spinali
- name: Initialize
working-directory: spinali
run: |
west init -l .
west update
west blobs fetch hal_afbr
./scripts/cyecca_install
- name: Format Check
working-directory: spinali
run: |
west format -c
- name: Twister Tests
working-directory: spinali
run: |
west test