Skip to content

Added setVolume(), setTempo(), mute() and loop mode features #29

Added setVolume(), setTempo(), mute() and loop mode features

Added setVolume(), setTempo(), mute() and loop mode features #29

Workflow file for this run

# This is the name of the workflow, visible on GitHub UI
name: Compile Examples
on:
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**LibraryBuild.yml'
pull_request:
jobs:
build:
name: Compile for ${{ matrix.arduino-platform }}
# Target OS
runs-on: ubuntu-20.04
env:
# Comma separated list without double quotes around the list
REQUIRED_LIBRARIES:
strategy:
# The Matrix contains all the configuration to be tested. For each configuration, all the examples are tested
matrix:
# define each specific configuration
include:
# if the current configuration contains the parameter "config-name" and it is equal to "esp8266-v2",
# add the following parameters to this configuration. If board-type is never matched,
# a new singular configuration is created
- config-name: esp8266-v2
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
# You can only state specific version, no semantic version rules
arduino-platform: esp8266:[email protected]
# In arduino-boards-fqbn you can specify additional hardware parameters,
# like clock frequency or partition scheme
# Type "arduino-cli board listall" to view the available boards
arduino-boards-fqbn: esp8266:esp8266:generic
- config-name: esp8266-v3
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
arduino-platform: esp8266:[email protected]
arduino-boards-fqbn: esp8266:esp8266:generic
- config-name: esp32-v1
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-platform: esp32:[email protected]
arduino-boards-fqbn: esp32:esp32:esp32
- config-name: esp32-v2
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-platform: esp32:[email protected]
arduino-boards-fqbn: esp32:esp32:esp32
# Do not cancel all jobs / architectures if one job fails
fail-fast: false
# This is the list of steps this job will run
steps:
# clone the repo using the `checkout` action
- name: Checkout
uses: actions/checkout@v2
- name: Arduino Lint
uses: arduino/arduino-lint-action@v1
with:
library-manager: update
- name: Compile all examples using the arduino-test-compile action
# Specify the git tag, not the Github release
uses: ArminJo/[email protected]
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
arduino-platform: ${{ matrix.arduino-platform }}
platform-url: ${{ matrix.platform-url }}