|
16 | 16 |
|
17 | 17 | # The matrix will produce one job for each configuration |
18 | 18 | # parameter of type `arduino-platform`, plus optional extra variants as listed |
19 | | - # in the 'include' list. In this case a total of 5. |
20 | | - arduino-platform: ["esp8266:esp8266", "esp32:esp32@1.0.6", "esp32:esp32@2.0.17" ] |
| 19 | + # in the 'include' list. In this case a total of 7 |
| 20 | + arduino-platform: ["esp32:esp32@1.0.6", "esp32:esp32@2.0.17" ] |
21 | 21 |
|
22 | | - # This is usually optional but we need to statically define the |
23 | | - # FQBN of the boards we want to test for each platform. In the |
24 | | - # future the CLI might automatically detect and download the core |
25 | | - # needed to compile against a certain FQBN, at that point the |
26 | | - # following 'Install platform' section will be useless. |
27 | 22 | include: |
28 | 23 |
|
29 | 24 | # This works like this: when the platform is "esp8266:esp8266", the |
|
35 | 30 | async-tcp-library-version: "\"ESP Async TCP\"" |
36 | 31 | webserver-library-version: "\"ESP Async WebServer\"" |
37 | 32 | compiler-warnings: "--warnings all" |
| 33 | + - arduino-platform: "esp8266:esp8266" |
| 34 | + fqbn: "esp8266:esp8266:d1_mini" |
| 35 | + url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json" |
| 36 | + board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n" |
| 37 | + async-tcp-library-version: "\"ESP Async TCP\"" |
| 38 | + webserver-library-version: "\"ESP Async WebServer\"" |
| 39 | + build-property: "--build-property compiler.cpp.extra_flags=\"-DSERVE_FROM_SPIFFS\"" |
| 40 | + compiler-warnings: "--warnings all" |
| 41 | + - arduino-platform: "esp8266:esp8266" |
| 42 | + fqbn: "esp8266:esp8266:d1_mini" |
| 43 | + url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json" |
| 44 | + board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n" |
| 45 | + async-tcp-library-version: "\"ESP Async TCP\"" |
| 46 | + webserver-library-version: "\"ESP Async WebServer\"" |
| 47 | + build-property: "--build-property compiler.cpp.extra_flags=\"-DSERVE_FROM_LITTLEFS\"" |
| 48 | + compiler-warnings: "--warnings all" |
38 | 49 | - arduino-platform: "esp32:esp32@1.0.6" |
39 | 50 | url: "https://dl.espressif.com/dl/package_esp32_index.json" |
40 | 51 | fqbn: "esp32:esp32:ttgo-t7-v13-mini32" |
|
91 | 102 | # in the build matrix. |
92 | 103 | - name: Build sketch |
93 | 104 | run: | |
94 | | - arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} ${{ matrix.compiler-warnings }} ./VanLiveConnect |
| 105 | + arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} ${{ matrix.build-property }} ${{ matrix.compiler-warnings }} ./VanLiveConnect |
0 commit comments