Add basic CI integration using PlatformIO in GitHub CI (#143)

* Add a basic CI builder

* Remove expressif step

* Add more builders

* Fix issue with Async Web Server being deprecated

* Redd heltec_wifi_lora_32_V3_2

* Fix heltec_wifi_lora_32_V3 target
This commit is contained in:
Konrad Iturbe authored and GitHub committed 2025-03-13 11:44:09 +01:00
1 parent c81da8e021
commit 9a26372dc1
4 files changed
+91 -13

No files matched your search

@@ -0,0 +1,22 @@
name: Build heltec board
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run --environment heltec_wifi_lora_32_V3
+22
View File
@@ -0,0 +1,22 @@
name: Build Lilygo T3S3 LR1121
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run --environment lilygo-T3S3-v1-2-lr1121-900
+22
View File
@@ -0,0 +1,22 @@
name: Build Lilygo T3S3 SX1262
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run --environment lilygo-T3S3-v1-2-sx1262
+25 -13
View File
@@ -71,7 +71,8 @@ board_build.f_cpu = 240000000
board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DHELTEC_POWER_BUTTON
-DHELTEC
@@ -95,7 +96,8 @@ board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
bblanchon/ArduinoJson@^7.2.0
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DHELTEC_POWER_BUTTON
-DHELTEC
@@ -121,7 +123,8 @@ board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
bblanchon/ArduinoJson@^7.2.0
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DHELTEC_POWER_BUTTON
-DHELTEC
@@ -147,7 +150,8 @@ board_build.f_cpu = 240000000
board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DHELTEC_POWER_BUTTON
-DHELTEC
@@ -169,7 +173,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1262
@@ -195,7 +200,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1262
@@ -227,7 +233,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_LR1121
@@ -256,7 +263,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_LR1121
@@ -513,7 +521,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1280_PA
@@ -529,7 +538,7 @@ build_flags =
-DARDUINO_USB_MODE=1
-DSERIAL_OUT
[env:lilygo-T3-v1-6-xs1276]
[env:lilygo-T3-v1-6-sx1276]
platform = espressif32
board = esp32dev
framework = arduino
@@ -541,7 +550,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_V1_6_SX1276
@@ -652,7 +662,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1280_PA
@@ -686,7 +697,8 @@ lib_deps =
RadioLib
U8g2
XPowersLib
ESP Async WebServer
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
build_flags =
-DLILYGO
-DT3_S3_V1_2_LR1121