-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (29 loc) · 885 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
# Copyright (c) 2024, Felipe Neves
# SPDX-License-Identifier: Apache-2.0
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
path: step
- name: Initialize
working-directory: lkmotor_mf4005_driver
run: |
pip3 install -U west
west init -l .
west update
pip3 install -r ../zephyr/scripts/requirements-base.txt
west zephyr-export
- name: Build samples
working-directory: lkmotor_mf4005_driver
run: |
git submodule update --init --recursive
west build -palways -barduino_giga_r1/stm32h747xx/m7 samples/mf4005_shell