update README for 1.0.8 release #187
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
name: Library Compile | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: arduino/arduino-lint-action@v1 | |
with: | |
library-manager: update | |
project-type: library | |
build: | |
name: Test compile | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arduino-boards-fqbn: | |
- arduino:avr:nano # arudino nano | |
- arduino:sam:arduino_due_x # arduino due | |
- arduino:samd:nano_33_iot # samd21 | |
- adafruit:samd:adafruit_metro_m4 # samd51 | |
- esp32:esp32:esp32 # esp32 | |
- esp32:esp32:esp32s2 # esp32s2 | |
- STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 # stm32 bluepill | |
- STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_F411RE # stm32 nucleo | |
- arduino:mbed_rp2040:pico # rpi pico | |
include: | |
- arduino-boards-fqbn: arduino:avr:nano | |
sketches-exclude: calibrated mt6816_spi smoothing simplefocnano_torque_voltage | |
required-libraries: Simple FOC | |
- arduino-boards-fqbn: arduino:sam:arduino_due_x | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
- arduino-boards-fqbn: arduino:samd:nano_33_iot | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing | |
- arduino-boards-fqbn: arduino:mbed_rp2040:pico | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
- arduino-boards-fqbn: adafruit:samd:adafruit_metro_m4 | |
platform-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
# - arduino-boards-fqbn: esp32:esp32:esp32doit-devkit-v1 | |
# platform-url: https://dl.espressif.com/dl/package_esp32_index.json | |
# required-libraries: Simple FOC | |
# sketch-names: '**.ino' | |
- arduino-boards-fqbn: esp32:esp32:esp32 # esp32 | |
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing simplefocnano_torque_voltage simplefocnano_atmega linearhall | |
- arduino-boards-fqbn: esp32:esp32:esp32s2 # esp32s2 | |
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
- arduino-boards-fqbn: STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 | |
platform-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json | |
required-libraries: Simple FOC | |
sketches-exclude: calibrated mt6816_spi smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
- arduino-boards-fqbn: STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_F411RE | |
platform-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json | |
required-libraries: Simple FOC | |
sketches-exclude: smoothing simplefocnano_torque_voltage simplefocnano_atmega | |
# Do not cancel all jobs / architectures if one job fails | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Compile all examples | |
uses: ArminJo/arduino-test-compile@master | |
with: | |
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }} | |
required-libraries: ${{ matrix.required-libraries }} | |
platform-url: ${{ matrix.platform-url }} | |
sketch-names: ${{ matrix.sketch-names }} | |
sketches-exclude: ${{ matrix.sketches-exclude }} |