mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-07 16:17:38 +03:00
Add manual build workflow for testing firmware
This commit is contained in:
parent
6d12c3a6fb
commit
1c6a2c2942
47
.github/workflows/manual-build.yml
vendored
Normal file
47
.github/workflows/manual-build.yml
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
name: Manual Build Firmware
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: 'Branch to build'
|
||||||
|
required: true
|
||||||
|
default: 'claude/fix-firmware-bug-fVdvb'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.inputs.branch }}
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
- uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/pip
|
||||||
|
~/.platformio/.cache
|
||||||
|
key: ${{ runner.os }}-pio
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v6
|
||||||
|
with:
|
||||||
|
python-version: '3.14'
|
||||||
|
|
||||||
|
- name: Install PlatformIO Core
|
||||||
|
run: pip install --upgrade platformio
|
||||||
|
|
||||||
|
- name: Build CrossPoint
|
||||||
|
run: pio run -e default
|
||||||
|
|
||||||
|
- name: Upload Firmware Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: crosspoint-firmware-${{ github.event.inputs.branch }}
|
||||||
|
path: |
|
||||||
|
.pio/build/default/bootloader.bin
|
||||||
|
.pio/build/default/firmware.bin
|
||||||
|
.pio/build/default/firmware.elf
|
||||||
|
.pio/build/default/partitions.bin
|
||||||
|
retention-days: 7
|
||||||
Loading…
Reference in New Issue
Block a user