tidier .gitignore

This commit is contained in:
Shailen Sobhee 2026-04-11 12:26:22 +02:00
commit 41270fffb8
3 changed files with 3 additions and 53 deletions

View file

@ -1,51 +0,0 @@
name: ESPSomfy-RTS
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- env: esp32dev
name: ESP32
- env: esp32c3
name: ESP32-C3
- env: esp32s3
name: ESP32-S3
- env: esp32c6
name: ESP32-C6
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install PlatformIO
run: pip install platformio
- name: Build ${{ matrix.name }}
run: pio run -e ${{ matrix.env }}
- name: Build LittleFS image
run: pio run -e ${{ matrix.env }} -t buildfs
- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: |
.pio/build/${{ matrix.env }}/firmware.bin
.pio/build/${{ matrix.env }}/firmware.elf
.pio/build/${{ matrix.env }}/partitions.bin
.pio/build/${{ matrix.env }}/bootloader.bin
.pio/build/${{ matrix.env }}/littlefs.bin
retention-days: 5

4
.gitignore vendored
View file

@ -10,7 +10,7 @@ debug.cfg
esp32.vsd
esp32s3.svd
# Build and Output Folders
# Build, Logs and Output Folders
build/
data/
logs/
@ -37,4 +37,4 @@ SomfyController.ino.esp32s2.bin
# Temporary and Backup Files
*.orig
*.bak
*.bak

View file

@ -5,6 +5,7 @@
#ifndef configsettings_h
#define configsettings_h
#include "WResp.h"
#ifndef FW_VERSION
#define FW_VERSION "v0.0.0" // Fallback if app_version.py script fails
#endif