From 9a54d9f74a286d7a05624f603e331673765a4fb8 Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Fri, 15 Mar 2024 16:06:47 +0100 Subject: [PATCH] Add CI for Arduino 3 (ESP-IDF 5.1) --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 747b704..9b46f46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,12 +69,16 @@ jobs: include: - platform: espressif32 board: esp32dev - eeprom: true - softwareserial: false + opts: - platform: espressif8266 board: huzzah - eeprom: true - softwareserial: false + opts: + - platform: espressif32 + board: esp32dev + opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'" + - platform: espressif8266 + board: huzzah + opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'" steps: - name: Checkout @@ -100,7 +104,7 @@ jobs: run: platformio platform install ${{ matrix.platform }} - name: Build CaptivePortal - run: platformio ci "examples/CaptivePortal/CaptivePortal.ino" -l '.' -b ${{ matrix.board }} + run: platformio ci "examples/CaptivePortal/CaptivePortal.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }} - name: Build SimpleServer - run: platformio ci "examples/SimpleServer/SimpleServer.ino" -l '.' -b ${{ matrix.board }} + run: platformio ci "examples/SimpleServer/SimpleServer.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}