Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

c2usb and zephyr update #362

c2usb and zephyr update

c2usb and zephyr update #362

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
app: [ble-keyboard, usb-keyboard, usb-mouse, usb-shell]
board: [nrf52840dk/nrf52840]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: ${{ matrix.app }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: ${{ matrix.app }}
toolchains: arm-zephyr-eabi
- name: Git config
working-directory: ${{ matrix.app }}
shell: bash
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Apply patches
working-directory: ${{ matrix.app }}
shell: bash
run: |
west patch
- name: Build firmware
working-directory: ${{ matrix.app }}
shell: bash
run: |
west build -b ${{ matrix.board }} ${{ matrix.app }}
- name: Archive firmware
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.app }}
path: |
${{ matrix.app }}/build/${{ matrix.app }}/zephyr/zephyr.hex