4
4
push :
5
5
paths-ignore :
6
6
- " **/**.md"
7
- - " / LICENSE"
8
- - " / keywords.txt"
9
- - " / library.json"
10
- - " / library.properties"
11
- - " / portal"
12
- - " / docs/*"
7
+ - " LICENSE"
8
+ - " keywords.txt"
9
+ - " library.json"
10
+ - " library.properties"
11
+ - " portal"
12
+ - " docs/*"
13
13
pull_request :
14
14
paths-ignore :
15
15
- " **/**.md"
16
- - " / LICENSE"
17
- - " / keywords.txt"
18
- - " / library.json"
19
- - " / library.properties"
20
- - " / portal"
21
- - " / docs/*"
16
+ - " LICENSE"
17
+ - " keywords.txt"
18
+ - " library.json"
19
+ - " library.properties"
20
+ - " portal"
21
+ - " docs/*"
22
22
23
23
jobs :
24
24
arduino :
25
- name : arduino ${{ matrix.name }}
25
+ name : Arduino - ${{ matrix.name }}
26
26
runs-on : ubuntu-latest
27
27
strategy :
28
28
fail-fast : false
29
29
matrix :
30
30
include :
31
- - name : package_esp32_index.json
31
+ - name : CI ESP32
32
32
core : esp32:esp32
33
33
board : esp32:esp32:esp32
34
34
index_url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
35
- - name : package_esp32_dev_index.json
35
+
36
+ - name : CI ESP32 (Dev Branch)
36
37
core : esp32:esp32
37
38
board : esp32:esp32:esp32
38
39
index_url : https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
40
+
39
41
# - name: package_esp8266com_index.json
40
42
# core: esp8266:esp8266
41
43
# board: esp8266:esp8266:huzzah
42
44
# index_url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
43
- - name : package_rp2040_index.json
45
+
46
+ - name : CI Pico W | RP2040+W
44
47
core : rp2040:rp2040
45
48
board : rp2040:rp2040:rpipicow
46
- index_url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
49
+ # index_url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
50
+ index_url : https://github.com/earlephilhower/arduino-pico/releases/download/4.4.3/package_rp2040_index.json
51
+
52
+ - name : CI Pico 2W | RP2350+W
53
+ core : rp2040:rp2040
54
+ board : rp2040:rp2040:rpipico2w
55
+ # index_url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
56
+ index_url : https://github.com/earlephilhower/arduino-pico/releases/download/4.4.3/package_rp2040_index.json
57
+
47
58
steps :
48
59
- name : Checkout
49
60
uses : actions/checkout@v4
@@ -64,18 +75,18 @@ jobs:
64
75
65
76
- name : Install AsyncTCP (ESP32)
66
77
if : ${{ matrix.core == 'esp32:esp32' }}
67
- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou /AsyncTCP#v3.3.2
78
+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async /AsyncTCP#v3.3.5
68
79
69
80
- name : Install ESPAsyncTCP (ESP8266)
70
81
if : ${{ matrix.core == 'esp8266:esp8266' }}
71
- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome- ESPAsyncTCP#v2.0.0
82
+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/ ESPAsyncTCP#v2.0.0
72
83
73
- - name : Install AsyncTCP (RP2040)
84
+ - name : Install RPAsyncTCP (RP2040)
74
85
if : ${{ matrix.core == 'rp2040:rp2040' }}
75
- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/khoih-prog/AsyncTCP_RP2040W #v1.2 .0
86
+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ayushsharma82/RPAsyncTCP #v1.3 .0
76
87
77
88
- name : Install ESPAsyncWebServer
78
- run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou /ESPAsyncWebServer#v3.6.0
89
+ run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async /ESPAsyncWebServer#v3.7.1
79
90
80
91
- name : Install ArduinoJson
81
92
run : ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/bblanchon/ArduinoJson#v7.3.0
@@ -96,40 +107,67 @@ jobs:
96
107
run : arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/AsyncDemo/AsyncDemo.ino"
97
108
98
109
platformio :
99
- name : pio ${{ matrix.name }}
110
+ name : PlatformIO - ${{ matrix.name }}
100
111
runs-on : ubuntu-latest
101
112
strategy :
102
113
fail-fast : false
103
114
matrix :
104
115
include :
105
- - name : esp32dev|arduino-3
116
+ # - env: ci-esp8266
117
+ # board: huzzah
118
+ # - env: ci-esp8266
119
+ # board: d1_mini
120
+ - name : CI ESP32
121
+ env : ci-esp32
106
122
board : esp32dev
107
- platform : espressif32
108
- 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'"
109
- - name : esp32-s3-devkitc-1|arduino-3
123
+
124
+ - name : CI ESP32-S2
125
+ env : ci-esp32
126
+ board : esp32-s2-saola-1
127
+
128
+ - name : CI ESP32-S3
129
+ env : ci-esp32
110
130
board : esp32-s3-devkitc-1
111
- platform : espressif32
112
- 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'"
113
- # - name: huzzah|espressif8266
114
- # board: huzzah
115
- # platform: espressif8266
116
- # opts: "--project-option 'lib_compat_mode = strict'"
131
+
132
+ - name : CI ESP32-C3
133
+ env : ci-esp32
134
+ board : esp32-c3-devkitc-02
135
+
136
+ - name : CI ESP32-C6
137
+ env : ci-esp32
138
+ board : esp32-c6-devkitc-1
139
+
140
+ - name : CI Pico W | RP2040+W
141
+ env : ci-rp2040
142
+ board : rpipicow
143
+ platform : https://github.com/maxgerhardt/platform-raspberrypi.git
144
+ opts : " --project-option 'board_build.core=earlephilhower'"
145
+
146
+ - name : CI Pico 2W | RP2350+W
147
+ env : ci-rp2350
148
+ board : rpipico2w
149
+ platform : https://github.com/maxgerhardt/platform-raspberrypi.git
150
+ opts : " --project-option 'board_build.core=earlephilhower'"
117
151
steps :
118
152
- uses : actions/checkout@v4
153
+
119
154
- name : Set up cache
120
155
uses : actions/cache@v4
121
156
with :
157
+ key : ${{ runner.os }}-pio
122
158
path : |
123
159
~/.platformio
124
160
~/.cache/pip
125
- key : ${{ matrix.name }}
126
- - uses : actions/setup-python@v5
161
+
162
+ - name : Setup Python
163
+ uses : actions/setup-python@v5
127
164
with :
128
165
python-version : " 3.x"
129
- - name : Install PlatformIO
130
- run : pip install platformio
131
- - name : Install Platform
132
- run : platformio platform install ${{ matrix.platform }}
133
166
134
- - run : platformio ci "examples/Demo/Demo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
135
- - run : PLATFORMIO_BUILD_FLAGS="-DNETWIZARD_USE_ASYNC_WEBSERVER=1" platformio ci "examples/AsyncDemo/AsyncDemo.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
167
+ - name : Setup PlatformIO
168
+ run : |
169
+ python -m pip install --upgrade pip
170
+ pip install --upgrade platformio
171
+
172
+ - run : PLATFORMIO_SRC_DIR=examples/Demo PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
173
+ - run : PLATFORMIO_BUILD_FLAGS="-DNETWIZARD_USE_ASYNC_WEBSERVER=1" PLATFORMIO_SRC_DIR=examples/AsyncDemo PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
0 commit comments