77 - " /keywords.txt"
88 - " /library.json"
99 - " /library.properties"
10- - " /vue-frontend"
1110 - " /docs"
1211 pull_request :
1312 paths-ignore :
1413 - " **/**.md"
1514 - " /keywords.txt"
1615 - " /library.json"
1716 - " /library.properties"
18- - " /vue-frontend"
1917 - " /docs"
2018
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21+ cancel-in-progress : true
22+
2123jobs :
2224 arduino :
2325 name : arduino ${{ matrix.name }}
@@ -58,13 +60,13 @@ jobs:
5860 run : arduino-cli core install --additional-urls "${{ matrix.index_url }}" ${{ matrix.core }}
5961
6062 - name : Install AsyncTCP
61- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.2.3
63+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.2.5
6264
6365 - name : Install ESPAsyncTCP
6466 run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0
6567
6668 - name : Install ESPAsyncWebServer
67- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v3.1.1
69+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v3.2.4
6870
6971 - name : Build Demo
7072 run : arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/Demo/Demo.ino"
@@ -79,61 +81,63 @@ jobs:
7981 run : arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/HighPerf/HighPerf.ino"
8082
8183 platformio :
82- name : pio ${{ matrix.name }}
84+ name : " pio:${{ matrix.env }}: ${{ matrix.board }}"
8385 runs-on : ubuntu-latest
8486 strategy :
8587 fail-fast : false
8688 matrix :
8789 include :
88- - name : esp32dev| arduino
90+ - env : ci- arduino-2
8991 board : esp32dev
90- platform : espressif32
91- opts : " --project-option 'lib_compat_mode = strict'"
92- - name : esp32dev|arduino-2
93- board : esp32dev
94- 95- opts : " --project-option 'lib_compat_mode = strict'"
96- - name : esp32dev|arduino-3
97- board : esp32dev
98- platform : espressif32
99- opts : " --project-option 'lib_compat_mode = strict' --project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.3/esp32-arduino-libs-3.0.3.zip'"
100- - name : esp32-s3-devkitc-1|arduino
92+ - env : ci-arduino-2
10193 board : esp32-s3-devkitc-1
102- platform : espressif32
103- opts : " --project-option 'lib_compat_mode = strict'"
104- - name : esp32-s3-devkitc-1|arduino-2
94+
95+ - env : ci-arduino-3
96+ board : esp32dev
97+ - env : ci-arduino-3
10598 board : esp32-s3-devkitc-1
106- 107- opts : " --project-option 'lib_compat_mode = strict'"
108- - name : esp32-s3-devkitc-1|arduino-3
99+ - env : ci-arduino-3
100+ board : esp32-c6-devkitc-1
101+
102+ - env : ci-arduino-310rc1
103+ board : esp32dev
104+ - env : ci-arduino-310rc1
109105 board : esp32-s3-devkitc-1
110- platform : espressif32
111- opts : " --project-option 'lib_compat_mode = strict' --project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.3/esp32-arduino-libs-3.0.3.zip'"
112- - name : huzzah|espressif8266
106+ - env : ci-arduino-310rc1
107+ board : esp32-c6-devkitc-1
108+
109+ - env : ci-esp8266
113110 board : huzzah
114- platform : espressif8266
115- opts : " --project-option 'lib_compat_mode = strict' "
111+ - env : ci-esp8266
112+ board : d1_mini
116113 steps :
117- - uses : actions/checkout@v4
118- - name : Set up cache
114+ - name : Checkout
115+ uses : actions/checkout@v4
116+
117+ - name : Cache PlatformIO
119118 uses : actions/cache@v4
120119 with :
120+ key : ${{ runner.os }}-pio
121121 path : |
122- ~/.platformio
123122 ~/.cache/pip
124- key : ${{ matrix.name }}
125- - uses : actions/setup-python@v5
123+ ~/.platformio
124+
125+ - name : Python
126+ uses : actions/setup-python@v5
126127 with :
127128 python-version : " 3.x"
128- - run : pip install platformio
129- - run : platformio platform install ${{ matrix.platform }}
130-
131- - run : platformio ci "examples/Demo/Demo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
132- - run : platformio ci "examples/Demo_AP/Demo_AP.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
133- - run : platformio ci "examples/Logging/Logging.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
134- - run : platformio ci "examples/HighPerf/HighPerf.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
135-
136- - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" platformio ci "examples/Demo/Demo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
137- - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" platformio ci "examples/Demo_AP/Demo_AP.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
138- - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" platformio ci "examples/Logging/Logging.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
139- - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" platformio ci "examples/HighPerf/HighPerf.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
129+
130+ - name : Build
131+ run : |
132+ python -m pip install --upgrade pip
133+ pip install --upgrade platformio
134+
135+ - run : PLATFORMIO_SRC_DIR="examples/Demo" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
136+ - run : PLATFORMIO_SRC_DIR="examples/Demo_AP" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
137+ - run : PLATFORMIO_SRC_DIR="examples/Logging" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
138+ - run : PLATFORMIO_SRC_DIR="examples/HighPerf" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
139+
140+ - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" PLATFORMIO_SRC_DIR="examples/Demo" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
141+ - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" PLATFORMIO_SRC_DIR="examples/Demo_AP" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
142+ - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" PLATFORMIO_SRC_DIR="examples/Logging" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
143+ - run : PLATFORMIO_BUILD_FLAGS="-DWSL_HIGH_PERF" PLATFORMIO_SRC_DIR="examples/HighPerf" PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
0 commit comments