Update project files and CI
This commit is contained in:
@@ -10,6 +10,7 @@ jobs:
|
||||
name: ${{ matrix.config }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
config: [arduino-cli.yaml, arduino-cli-dev.yaml]
|
||||
steps:
|
||||
@@ -26,3 +27,24 @@ jobs:
|
||||
env:
|
||||
LWIP_IPV6: true
|
||||
run: arduino-cli --config-file ${{ matrix.config }} --library ./src/ compile --fqbn esp32:esp32:esp32 ./examples/ClientServer/Client/Client.ino
|
||||
|
||||
build-pio:
|
||||
name: pio ${{ matrix.env }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
env: [latest, v660, master, v300-rc1, Jason2866]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.platformio
|
||||
~/.cache/pip
|
||||
key: ${{ runner.os }}-platformio
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: pip install platformio
|
||||
- run: pio run -e ${{ matrix.env }}
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cmake.configureOnOpen": false
|
||||
}
|
||||
+20
-11
@@ -1,26 +1,35 @@
|
||||
[env]
|
||||
framework = arduino
|
||||
|
||||
board = esp32dev
|
||||
build_flags =
|
||||
-Wall -Wextra
|
||||
-D CONFIG_ARDUHAL_LOG_COLORS
|
||||
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||
|
||||
upload_protocol = esptool
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder, log2file
|
||||
|
||||
[platformio]
|
||||
default_envs = esp32
|
||||
lib_dir = .
|
||||
src_dir = examples/ClientServer/Client
|
||||
|
||||
[env:esp32]
|
||||
; platform = [email protected]
|
||||
; platform = espressif32
|
||||
; platform = https://github.com/platformio/platform-espressif32.git
|
||||
[env:latest]
|
||||
platform = espressif32
|
||||
|
||||
[env:v660]
|
||||
platform = [email protected]
|
||||
|
||||
[env:master]
|
||||
platform = espressif32
|
||||
platform_packages=
|
||||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master
|
||||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
||||
|
||||
[env:v300-rc1]
|
||||
platform = espressif32
|
||||
platform_packages=
|
||||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1
|
||||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
||||
|
||||
[env:Jason2866]
|
||||
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5
|
||||
; platform_packages=
|
||||
; platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1
|
||||
; platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
||||
board = esp32dev
|
||||
|
||||
Reference in New Issue
Block a user