-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (46 loc) · 1.12 KB
/
build-pico.yaml
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
name: Build test for Pico
on:
push:
pull_request:
schedule:
- cron: '0 10 * * 0' # Run it every Sunday 10am UTC
jobs:
build-zephyr:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
board:
- rpi_pico
python-version:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
sdk-version:
- '0.16.4'
- '0.16.8'
runs-on: ${{ matrix.os }}
steps:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Python version
run: |
python3 --version
- name: Checkout
uses: actions/checkout@v4
with:
path: scsat1-rpi
- name: Setup Zephyr
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: scsat1-rpi
toolchains: arm-zephyr-eabi
sdk-version: ${{ matrix.sdk-version }}
- name: Build
run: |
west build -b ${{ matrix.board }} scsat1-rpi/pico