Add Gitea builds for PlasmaBridge firmware
ESP32 Firmware Builds / firmware-builds (push) Failing after 3m30s
ESP32 Firmware Builds / firmware-builds (push) Failing after 3m30s
This commit is contained in:
1 parent
6e15d6f829
commit
af7c55b223
2 files changed
+64
No files matched your search
@@ -0,0 +1,53 @@
|
||||
name: ESP32 Firmware Builds
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
firmware-builds:
|
||||
runs-on: ubuntu-24.04
|
||||
container:
|
||||
image: python:3.12-bookworm
|
||||
steps:
|
||||
- name: Install Git
|
||||
run: apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
shell: bash
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Create local build configuration
|
||||
run: cp include/config.example.h include/config.h
|
||||
shell: bash
|
||||
- name: Install PlatformIO
|
||||
run: python -m pip install --no-cache-dir platformio
|
||||
shell: bash
|
||||
- name: Build SD-card firmware
|
||||
run: pio run -e sd_variant
|
||||
shell: bash
|
||||
- name: Build flash firmware
|
||||
run: pio run -e flash_variant
|
||||
shell: bash
|
||||
- name: Build USB-MSC diagnostic firmware
|
||||
run: pio run -e usb_msc_test
|
||||
shell: bash
|
||||
- name: Upload SD-card firmware artifact
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: plasma-bridge-sd-variant
|
||||
path: .pio/build/sd_variant/firmware.bin
|
||||
if-no-files-found: error
|
||||
- name: Upload flash firmware artifact
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: plasma-bridge-flash-variant
|
||||
path: .pio/build/flash_variant/firmware.bin
|
||||
if-no-files-found: error
|
||||
- name: Upload USB-MSC diagnostic artifact
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: plasma-bridge-usb-msc-test
|
||||
path: .pio/build/usb_msc_test/firmware.bin
|
||||
if-no-files-found: error
|
||||
Reference in new issue
Block a user