Add CI support for esp32-c6-devkitc-1
This commit is contained in:
@@ -50,3 +50,27 @@ jobs:
|
||||
- run: pip install platformio
|
||||
- run: sed -i -e 's/esp32dev/${{ matrix.board }}/g' platformio.ini
|
||||
- run: pio run -e ${{ matrix.env }}
|
||||
|
||||
build-pioarduino:
|
||||
name: ${{ matrix.board }} ${{ matrix.env }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
board: [esp32-c6-devkitc-1]
|
||||
env: [pioarduino]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.platformio
|
||||
~/.cache/pip
|
||||
key: ${{ matrix.env }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: pip install platformio
|
||||
- run: sed -i -e 's/esp32-c6-devkitc-1/${{ matrix.board }}/g' platformio.ini
|
||||
- run: pio run -e ${{ matrix.env }}
|
||||
|
||||
@@ -26,3 +26,7 @@ platform_packages=
|
||||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3
|
||||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.3/esp32-arduino-libs-3.0.3.zip
|
||||
board = esp32dev
|
||||
|
||||
[env:pioarduino]
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.03/platform-espressif32.zip
|
||||
board = esp32-c6-devkitc-1
|
||||
|
||||
Reference in New Issue
Block a user