-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 861 Bytes
/
ci.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
name: Build
on:
pull_request:
push:
branches: [ main ]
jobs:
build_app:
runs-on: ubuntu-22.04
name: Run Application Build on changes (PR)
strategy:
matrix:
board:
- xiao_ble
- holyiot_21014
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Checkout
uses: actions/checkout@v4
with:
path: app
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: app
toolchains: arm-zephyr-eabi
# sdk-version: 0.16.8
- name: Build Application
working-directory: app
shell: bash
run: |
west build -b ${{ matrix.board }}