bump version to v1.0.1 for release #14
This file contains hidden or 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: Cross-compilation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
compile-sketch: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
board: | |
# Uno | |
# https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt | |
- fqbn: arduino:avr:mega | |
name: Arduino AVR | |
platforms: | | |
- name: arduino:avr | |
source-url: https://downloads.arduino.cc/packages/package_index.json | |
# ESP32 | |
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt | |
- fqbn: esp32:esp32:esp32thing_plus_c | |
name: ESP32 Thing Plus C | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
# ESP32-S2 | |
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt | |
- fqbn: esp32:esp32:sparkfun_esp32s2_thing_plus | |
name: ESP32-S2 Thing Plus | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
# ESP32-S3 | |
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt | |
- fqbn: esp32:esp32:sparkfun_esp32s3_thing_plus | |
name: ESP32-S3 Thing Plus | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
# ESP32-C3 | |
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt | |
- fqbn: esp32:esp32:sparkfun_pro_micro_esp32c3 | |
name: ESP32-C3 Pro Micro | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
# ESP32-C6 | |
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt | |
- fqbn: esp32:esp32:sparkfun_esp32c6_thing_plus | |
name: ESP32-C6 Thing Plus | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
# ESP8266 | |
# https://github.com/esp8266/Arduino/blob/master/boards.txt | |
- fqbn: esp8266:esp8266:thingdev | |
name: ESP8266 Thing Dev | |
platforms: | | |
- name: esp8266:esp8266 | |
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json | |
# RP2040 | |
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt | |
- fqbn: rp2040:rp2040:sparkfun_promicrorp2040 | |
name: SparkFun Pro Micro RP2040 | |
platforms: | | |
- name: rp2040:rp2040 | |
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | |
# RP2350 | |
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt | |
- fqbn: rp2040:rp2040:sparkfun_iotredboard_rp2350 | |
name: SparkFun IoT RedBoard RP2350 | |
platforms: | | |
- name: rp2040:rp2040 | |
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | |
# STM32 | |
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt | |
- fqbn: STMicroelectronics:stm32:GenF4 | |
name: STM32 GenF4 | |
platforms: | | |
- name: STMicroelectronics:stm32 | |
source-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Branch name and details | |
run: | | |
echo "running on branch ${{ github.ref_name }}" | |
echo "Board: ${{matrix.board.name}}, fqbn: ${{ matrix.board.fqbn }}" | |
- name: Compile Sketch | |
uses: arduino/[email protected] | |
with: | |
platforms: ${{ matrix.board.platforms }} | |
fqbn: ${{ matrix.board.fqbn }} | |
libraries: | | |
- source-path: ./ | |
sketch-paths: | | |
- testing/Testing1_PlayFile | |
enable-warnings-report: true | |
enable-deltas-report: true | |
verbose: true | |
# outputs: | |
# report-artifact-name: ${{ steps.report-artifact-name.outputs.report-artifact-name }} |