Skip to content

Commit

Permalink
fix: remove rp2040 for pio CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 committed Jun 3, 2024
1 parent bc43e14 commit 18b6e9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/Demo/Demo.ino"

- name: Configure ElegantOTA to Async Mode
if: ${{ matrix.core != 'rp2040:rp2040' }}
run: |
cd src
sed -i 's/ELEGANTOTA_USE_ASYNC_WEBSERVER 0/ELEGANTOTA_USE_ASYNC_WEBSERVER 1/' ElegantOTA.h
Expand Down Expand Up @@ -117,12 +118,6 @@ 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
Expand All @@ -141,5 +136,4 @@ jobs:
run: platformio platform install ${{ matrix.platform }}

- run: platformio ci "examples/Demo/Demo.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 }}
- run: PLATFORMIO_BUILD_FLAGS="-DELEGANTOTA_USE_ASYNC_WEBSERVER=1" platformio ci "examples/AsyncDemo/AsyncDemo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
6 changes: 6 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ board = huzzah
lib_deps =
mathieucarbou/ESP Async WebServer @ 2.10.4
esphome/ESPAsyncTCP-esphome @ 2.0.0

[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower

0 comments on commit 18b6e9d

Please sign in to comment.