-
Notifications
You must be signed in to change notification settings - Fork 11
51 lines (44 loc) · 1.16 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Build
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 10 * * *"
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.14
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/jammy/ llvm-toolchain-jammy-18 main"
apt update
apt install pipx curl clang-format-18 -y
pipx install poetry==1.8.3
poetry config --list
- name: Checkout
uses: actions/checkout@v3
with:
path: cerebri
- name: Initialize
working-directory: cerebri
run: |
west init -l .
west update
./scripts/cyecca_install
- name: Format Check
working-directory: cerebri
run: |
west format -c
- name: Twister Tests
working-directory: cerebri
run: |
west test