Skip to content

clean up project, switch to c2usb as zephyr module #13

clean up project, switch to c2usb as zephyr module

clean up project, switch to c2usb as zephyr module #13

Workflow file for this run

name: Build
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: usb-keyboard
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: usb-keyboard
toolchains: arm-zephyr-eabi
- name: Build firmware
working-directory: usb-keyboard
shell: bash
run: |
west build -b nrf52840dk/nrf52840 usb-keyboard
- name: Archive firmware
uses: actions/upload-artifact@v4
with:
name: usb-keyboard-nrf52840dk
path: |
usb-keyboard/build/zephyr/zephyr.hex