-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (49 loc) · 1.36 KB
/
Copy pathbuild.yml
File metadata and controls
57 lines (49 loc) · 1.36 KB
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
52
53
54
55
56
57
name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- app: rasprover
flags: --sysbuild
- app: embedded_vision
- app: force_sensor
- app: joystick_controller
- app: motor_controller
- app: pico_fw
# bluetooth_proxy_device needs golioth/pouch, which are not in this
# workspace (disabled until pouch fixes board.yml full_name requirement)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.14"
enable-cache: true
- name: Install Python dependencies
run: uv sync
- name: Cache west deps
uses: actions/cache@v6
with:
path: deps/
key: west-deps-${{ hashFiles('west.yml') }}
restore-keys: |
west-deps-
- name: Cache Zephyr SDK
uses: actions/cache@v6
with:
path: ~/zephyr-sdk-*
key: zephyr-sdk-${{ hashFiles('west.yml') }}
restore-keys: |
zephyr-sdk-
- name: Setup workspace
run: uv run poe setup
- name: Build firmware
run: uv run poe app ${{ matrix.app }} ${{ matrix.flags }}