Release v0.2.24 #88
Workflow file for this run
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: Firmware CI | |
| on: | |
| push: | |
| paths: | |
| - "include/**" | |
| - "src/**" | |
| - "platformio.ini" | |
| - ".github/workflows/firmware.yml" | |
| pull_request: | |
| paths: | |
| - "include/**" | |
| - "src/**" | |
| - "platformio.ini" | |
| - ".github/workflows/firmware.yml" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Cache PlatformIO data | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.platformio/.cache | |
| ~/.platformio/packages | |
| ~/.platformio/platforms | |
| ~/.platformio/penv | |
| key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pio- | |
| - name: Install PlatformIO Core | |
| run: pip install platformio | |
| - name: Build firmware | |
| run: pio run -e soundpanel7_usb | |
| - name: Upload firmware binaries | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: soundpanel7_usb-firmware | |
| path: | | |
| .pio/build/soundpanel7_usb/firmware.bin | |
| .pio/build/soundpanel7_usb/bootloader.bin | |
| .pio/build/soundpanel7_usb/partitions.bin |