Skip to content

Commit

Permalink
ci: add automatic build script
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
  • Loading branch information
uLipe committed Sep 13, 2024
1 parent d45d6bb commit 5865440
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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: lkmotor_mf4005_driver

- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: lkmotor_mf4005_driver/samples/mf4005_shell
toolchains: arm-zephyr-eabi

# - name: Build
# run: |
# west build -palways -barduino_giga_r1/stm32h747xx/m7 samples/mf4005_shell

0 comments on commit 5865440

Please sign in to comment.