-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e68a55
commit bc43e14
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,10 @@ jobs: | |
core: esp8266:esp8266 | ||
board: esp8266:esp8266:huzzah | ||
index_url: https://arduino.esp8266.com/stable/package_esp8266com_index.json | ||
- name: package_rp2040_index.json | ||
core: rp2040:rp2040 | ||
board: rp2040:rp2040:rpipicow | ||
index_url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -64,7 +68,7 @@ jobs: | |
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0 | ||
|
||
- name: Install ESPAsyncWebServer | ||
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v2.10.1 | ||
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v2.10.4 | ||
|
||
- name: Build Demo | ||
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/Demo/Demo.ino" | ||
|
@@ -75,6 +79,7 @@ jobs: | |
sed -i 's/ELEGANTOTA_USE_ASYNC_WEBSERVER 0/ELEGANTOTA_USE_ASYNC_WEBSERVER 1/' ElegantOTA.h | ||
- name: Build AsyncDemo | ||
if: ${{ matrix.core != 'rp2040:rp2040' }} | ||
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/AsyncDemo/AsyncDemo.ino" | ||
|
||
platformio: | ||
|
@@ -112,6 +117,12 @@ jobs: | |
board: huzzah | ||
platform: espressif8266 | ||
opts: | ||
- name: rp2040|raspberrypi | ||
board: pico | ||
platform: raspberrypi | ||
- name: rp2040|raspberrypi-1 | ||
board: pico | ||
platform: [email protected] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up cache | ||
|
@@ -124,8 +135,11 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- run: pip install platformio | ||
- run: platformio platform install ${{ matrix.platform }} | ||
- name: Install PlatformIO | ||
run: pip install platformio | ||
- name: Install Platform | ||
run: platformio platform install ${{ matrix.platform }} | ||
|
||
- run: platformio ci "examples/Demo/Demo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }} | ||
- run: PLATFORMIO_BUILD_FLAGS="-DELEGANTOTA_USE_ASYNC_WEBSERVER=1" platformio ci "examples/AsyncDemo/AsyncDemo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }} | ||
- if: ${{ !contains(matrix.platform, 'raspberrypi') }} | ||
run: PLATFORMIO_BUILD_FLAGS="-DELEGANTOTA_USE_ASYNC_WEBSERVER=1" platformio ci "examples/AsyncDemo/AsyncDemo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }} |
This file contains 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
This file contains 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