Skip to content

Commit

Permalink
build: add a manifest and build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobaltieri committed Jan 23, 2024
1 parent ded0bc2 commit 0190808
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Firmware build

on:
push:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@main
with:
app-path: firmware
toolchains: arm-zephyr-eabi

- name: Build
run: |
west build firmware
13 changes: 13 additions & 0 deletions firmware/west.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
manifest:
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos

projects:
- name: zephyr
remote: zephyrproject-rtos
revision: main
import:
name-allowlist:
- cmsis
- hal_nordic

0 comments on commit 0190808

Please sign in to comment.