Adding parameter aSampleRateForPitch and macro ENABLE_PITCH. Bumped v… #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LibraryBuild.yml | |
# Github workflow script to test compile all examples of an Arduino library repository. | |
# | |
# Copyright (C) 2020-2022 Armin Joachimsmeyer | |
# https://github.com/ArminJo/Github-Actions | |
# This is the name of the workflow, visible on GitHub UI. | |
name: LibraryBuild | |
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: ${{ matrix.arduino-boards-fqbn }} - test compiling examples | |
runs-on: ubuntu-latest # I picked Ubuntu to use shell scripts. | |
strategy: | |
matrix: | |
arduino-boards-fqbn: | |
- arduino:avr:uno | |
- arduino:avr:leonardo | |
- arduino:avr:mega | |
- arduino:avr:esplora | |
- arduino:avr:circuitplay32u4cat | |
# - arduino:sam:arduino_due_x | |
- arduino:samd:arduino_zero_native | |
- SparkFun:avr:promicro | |
- esp32:esp32:featheresp32:FlashFreq=80 | |
- STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 | |
- STMicroelectronics:stm32:Nucleo_32:pnum=NUCLEO_L432KC | |
- stm32duino:STM32F1:genericSTM32F103C | |
include: | |
- arduino-boards-fqbn: arduino:avr:uno | |
- arduino-boards-fqbn: SparkFun:avr:promicro | |
arduino-platform: arduino:avr,SparkFun:avr | |
platform-url: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json # Arduino URL is not required here | |
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80 | |
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
- arduino-boards-fqbn: STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 # STM core | |
platform-url: https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json | |
- arduino-boards-fqbn: STMicroelectronics:stm32:Nucleo_32:pnum=NUCLEO_L432KC | |
platform-url: https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json | |
- arduino-boards-fqbn: stm32duino:STM32F1:genericSTM32F103C # Roger Clark core | |
platform-url: http://dan.drown.org/stm32duino/package_STM32duino_index.json | |
# Do not cancel all jobs / architectures if one job fails | |
fail-fast: false | |
steps: | |
# First of all, we clone the repo using the `checkout` action. | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Compile all examples using the arduino-test-compile action | |
uses: ArminJo/arduino-test-compile@master | |
with: | |
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }} | |
arduino-platform: ${{ matrix.arduino-platform }} | |
platform-url: ${{ matrix.platform-url }} | |
required-libraries: ${{ env.REQUIRED_LIBRARIES }} | |
sketches-exclude: ${{ matrix.sketches-exclude }} | |
build-properties: ${{ toJson(matrix.build-properties) }} |