Skip to content

Improve audio settings popup handling #132

Improve audio settings popup handling

Improve audio settings popup handling #132

Workflow file for this run

name: Build Sketch
# The workflow will run on every push and pull request to the repository
on:
- push
- pull_request
jobs:
compile-sketch:
runs-on: ubuntu-latest
# Here we tell GitHub that the jobs must be determined
# dynamically depending on a matrix configuration.
strategy:
matrix:
# The matrix will produce one job for each configuration
# parameter of type `arduino-platform`, plus optional extra variants as listed
# in the 'include' list.
arduino-platform: ["esp32:esp32@1.0.6", "esp32:esp32@2.0.17" ]
include:
# This works like this: when the platform is "esp8266:esp8266", the
# variable `fqbn` is set to "esp8266:esp8266:d1_mini".
- arduino-platform: "esp8266:esp8266"
fqbn: "esp8266:esp8266:d1_mini"
url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n"
async-tcp-library-version: "\"ESP Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp8266:esp8266"
fqbn: "esp8266:esp8266:d1_mini"
url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n"
async-tcp-library-version: "\"ESP Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
build-property: "--build-property compiler.cpp.extra_flags=\"-DSERVE_FROM_SPIFFS\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp8266:esp8266"
fqbn: "esp8266:esp8266:d1_mini"
url: "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
board-options: "xtal=160,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M1M,ip=hb2n"
async-tcp-library-version: "\"ESP Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
build-property: "--build-property compiler.cpp.extra_flags=\"-DSERVE_FROM_LITTLEFS\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp32:esp32@1.0.6"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:ttgo-t7-v13-mini32"
board-options: "CPUFreq=240,FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs,DebugLevel=none"
async-tcp-library-version: "AsyncTCP"
webserver-library-version: "ESPAsyncWebSrv@1.2.7"
compiler-warnings: ""
- arduino-platform: "esp32:esp32@2.0.17"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:ttgo-t7-v13-mini32"
board-options: "CPUFreq=240,FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs,DebugLevel=none"
async-tcp-library-version: "\"Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp32:esp32"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:ttgo-t7-v13-mini32"
board-options: "CPUFreq=240,FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs,DebugLevel=none"
async-tcp-library-version: "\"Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp32:esp32"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:ttgo-t7-v13-mini32"
board-options: "CPUFreq=240,FlashFreq=80,FlashSize=4M,PartitionScheme=no_ota,DebugLevel=none"
async-tcp-library-version: "\"Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
build-property: "--build-property compiler.cpp.extra_flags=\"-DSERVE_FROM_LITTLEFS\""
compiler-warnings: "--warnings all"
- arduino-platform: "esp32:esp32"
url: "https://dl.espressif.com/dl/package_esp32_index.json"
fqbn: "esp32:esp32:esp32s2"
board-options: "CPUFreq=240,CDCOnBoot=cdc,FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs,DebugLevel=none"
async-tcp-library-version: "\"Async TCP\""
webserver-library-version: "\"ESP Async WebServer\""
compiler-warnings: "--warnings all"
steps:
# This step makes the contents of the repository available to the workflow.
- name: Checkout repository
uses: actions/checkout@v4
# We use the `arduino/setup-arduino-cli` action to install and
# configure the Arduino CLI on the system.
- name: Setup Arduino CLI
uses: arduino/setup-arduino-cli@v2
# We then install the platform, which one will be determined
# dynamically by the build matrix.
- name: Install platform
run: |
arduino-cli core install ${{ matrix.arduino-platform }} --additional-urls ${{ matrix.url }}
# Install the required libraries.
- name: Install libraries
run: |
arduino-cli lib install VanBus
arduino-cli lib install ${{ matrix.async-tcp-library-version }}
arduino-cli lib install ${{ matrix.webserver-library-version }}
# Finally, we build the sketch, using the FQBN that was set
# in the build matrix.
- name: Build sketch
run: |
arduino-cli compile --fqbn ${{ matrix.fqbn }} --board-options ${{ matrix.board-options }} ${{ matrix.build-property }} ${{ matrix.compiler-warnings }} ./VanLiveConnect