Arduino Compile Sketches #56
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
# From: https://github.com/marketplace/actions/compile-arduino-sketches | |
# Uses: https://github.com/arduino/compile-sketches | |
name: Arduino Compile Sketches | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
message: | |
description: Message to display in job summary | |
required: false | |
type: string | |
jobs: | |
compile-sketches: | |
strategy: | |
matrix: | |
include: | |
- arch: avr | |
fqbn: 'arduino:avr:uno' | |
platform-name: 'arduino:avr' | |
platform-sourceurl: 'https://downloads.arduino.cc/packages/package_index.json' | |
- arch: msp | |
fqbn: 'energia:msp430:MSP-EXP430G2553LP' | |
platform-name: 'energia:msp430' | |
platform-sourceurl: 'https://raw.githubusercontent.com/Andy4495/TI_Platform_Cores_For_Arduino/main/json/package_energia_minimal_MSP_107_index.json' | |
- arch: msp432 | |
fqbn: 'energia:msp432r:MSP-EXP432P401R' | |
platform-name: 'energia:msp432r' | |
platform-sourceurl: 'https://raw.githubusercontent.com/Andy4495/TI_Platform_Cores_For_Arduino/main/json/package_energia_minimal_MSP432r_index.json' | |
- arch: tivac | |
fqbn: 'energia:tivac:EK-TM4C123GXL' | |
platform-name: 'energia:tivac' | |
platform-sourceurl: 'https://raw.githubusercontent.com/Andy4495/TI_Platform_Cores_For_Arduino/main/json/package_energia_minimal_TM4C_104_alternate_index.json' | |
- arch: stm32 | |
fqbn: 'STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8' | |
platform-name: 'STMicroelectronics:stm32' | |
platform-sourceurl: 'https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json' | |
- arch: esp8266 | |
fqbn: 'esp8266:esp8266:thing' | |
platform-name: 'esp8266:esp8266' | |
platform-sourceurl: 'http://arduino.esp8266.com/stable/package_esp8266com_index.json' | |
- arch: esp32 | |
fqbn: 'esp32:esp32:esp32' | |
platform-name: 'esp32:esp32' | |
platform-sourceurl: 'https://espressif.github.io/arduino-esp32/package_esp32_index.json' | |
name: call-compile-sketches-workflow | |
uses: Andy4495/.github/.github/workflows/arduino-compile-sketches.yml@main | |
with: | |
message: ${{ inputs.message }} | |
copyfile: | |
fqbn: ${{ matrix.fqbn }} | |
platform-name: ${{ matrix.platform-name }} | |
platform-sourceurl: ${{ matrix.platform-sourceurl }} | |
platform-version: latest | |
libraries: | | |
- source-path: ./ | |