add workflow

This commit is contained in:
2025-05-30 23:36:02 -06:00
parent 952a0357a1
commit 2e0d6803d6

33
.github/workflows/blah.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Build
on:
push:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd
AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: mellifera
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build -b nrf52dk/nrf52832 mellifera/app
- name: upload
uses: actions/upload-artifact@v3
with:
path: build/