This repository was archived by the owner on Jun 4, 2026. It is now read-only.
create HID report protocol compatibility tester application #348
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |