Skip to content

Commit

Permalink
compile.yml: set all compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCAFEDECAF committed Oct 21, 2024
1 parent f37346c commit a18243f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ jobs:
url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
fqbn: "esp8266:esp8266:d1_mini"
board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n"
compiler-warnings: "all"
websockets-library-version: "WebSockets" # We can install latest
- arduino-platform: "esp32:[email protected]"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:esp32"
board-options: "CPUFreq=240,FlashFreq=80,FlashSize=4M,PartitionScheme=default,DebugLevel=none"
compiler-warnings: "default"
websockets-library-version: "[email protected]" # On esp32:[email protected] we cannot go beyond version 2.4.0

steps:
Expand Down Expand Up @@ -63,8 +61,8 @@ jobs:
# in the build matrix.
- name: Compile example sketches
run: |
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings ${{ matrix.compiler-warnings }} ./examples/VanBusDump
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings ${{ matrix.compiler-warnings }} ./examples/PacketParser
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings ${{ matrix.compiler-warnings }} ./examples/LiveWebPage
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings ${{ matrix.compiler-warnings }} ./examples/SendPacket
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings ${{ matrix.compiler-warnings }} ./examples/DisplayNotifications
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings all ./examples/VanBusDump
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings all ./examples/PacketParser
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings all ./examples/LiveWebPage
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings all ./examples/SendPacket
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} --warnings all ./examples/DisplayNotifications

0 comments on commit a18243f

Please sign in to comment.