arduino-libraries / TFT

TFT Library for Arduino
http://arduino.cc/
GNU Lesser General Public License v2.1
56 stars 41 forks source link

Fix sketch compilation CI configuration for MKR Zero #35

Closed per1234 closed 2 years ago

per1234 commented 2 years ago

The "Compile Examples" GitHub Actions workflow provides a basic "smoke test" on the project by compiling the appropriate example sketches for a selection of supported boards on every push, pull request, and periodically.

Some of the examples are written specifically for the Arduino Esplora, with the rest intended for any other supported board. In order to avoid spurious compilation failures, the workflow is configured to compile the correct examples for each board by assigning them a "type" attribute. This attribute was omitted for the arduino:samd:mkrzero board (https://github.com/arduino-libraries/TFT/commit/475cce4dac9c997683aa341ab26b69389a22612e), which resulted in no examples being compiled for it (example).

The correct "type" attribute is hereby assigned to that board and all the non-Esplora example sketches will now be compiled for it.

github-actions[bot] commented 2 years ago

Memory usage change @ a45a4cb9b13794f4c461f9219efd61d58b9d8b46

Board flash % RAM for global variables %
arduino:avr:esplora 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:leonardo 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:mega 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:nano 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:megaavr:nona4809 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 0 - 0 0.0 - 0.0 N/A N/A
arduino:samd:mkrzero 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Esplora/EsploraTFTBitmapLogo
flash|%|examples/Esplora/EsploraTFTBitmapLogo
RAM for global variables|%|examples/Esplora/EsploraTFTColorPicker
flash|%|examples/Esplora/EsploraTFTColorPicker
RAM for global variables|%|examples/Esplora/EsploraTFTEtchASketch
flash|%|examples/Esplora/EsploraTFTEtchASketch
RAM for global variables|%|examples/Esplora/EsploraTFTGraph
flash|%|examples/Esplora/EsploraTFTGraph
RAM for global variables|%|examples/Esplora/EsploraTFTHorizon
flash|%|examples/Esplora/EsploraTFTHorizon
RAM for global variables|%|examples/Esplora/EsploraTFTPong
flash|%|examples/Esplora/EsploraTFTPong
RAM for global variables|%|examples/Esplora/EsploraTFTTemp
flash|%|examples/Esplora/EsploraTFTTemp
RAM for global variables|%|examples/Arduino/TFTBitmapLogo
flash|%|examples/Arduino/TFTBitmapLogo
RAM for global variables|%|examples/Arduino/TFTColorPicker
flash|%|examples/Arduino/TFTColorPicker
RAM for global variables|%|examples/Arduino/TFTDisplayText
flash|%|examples/Arduino/TFTDisplayText
RAM for global variables|%|examples/Arduino/TFTEtchASketch
flash|%|examples/Arduino/TFTEtchASketch
RAM for global variables|%|examples/Arduino/TFTGraph
flash|%|examples/Arduino/TFTGraph
RAM for global variables|%|examples/Arduino/TFTPong
flash|%|examples/Arduino/TFTPong
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- arduino:avr:esplora|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 arduino:avr:leonardo|||||||||||||||||||||||||||||0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 arduino:avr:mega|||||||||||||||||||||||||||||0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 arduino:avr:nano|||||||||||||||||||||||||||||0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 arduino:megaavr:nona4809|||||||||||||||||||||||||||||0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 arduino:sam:arduino_due_x_dbg|||||||||||||||||||||||||||||0|0.0|N/A|N/A|0|0.0|N/A|N/A|0|0.0|N/A|N/A|0|0.0|N/A|N/A|0|0.0|N/A|N/A|0|0.0|N/A|N/A arduino:samd:mkrzero|||||||||||||||||||||||||||||0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0
Click for full report CSV ``` Board,examples/Esplora/EsploraTFTBitmapLogo
flash,%,examples/Esplora/EsploraTFTBitmapLogo
RAM for global variables,%,examples/Esplora/EsploraTFTColorPicker
flash,%,examples/Esplora/EsploraTFTColorPicker
RAM for global variables,%,examples/Esplora/EsploraTFTEtchASketch
flash,%,examples/Esplora/EsploraTFTEtchASketch
RAM for global variables,%,examples/Esplora/EsploraTFTGraph
flash,%,examples/Esplora/EsploraTFTGraph
RAM for global variables,%,examples/Esplora/EsploraTFTHorizon
flash,%,examples/Esplora/EsploraTFTHorizon
RAM for global variables,%,examples/Esplora/EsploraTFTPong
flash,%,examples/Esplora/EsploraTFTPong
RAM for global variables,%,examples/Esplora/EsploraTFTTemp
flash,%,examples/Esplora/EsploraTFTTemp
RAM for global variables,%,examples/Arduino/TFTBitmapLogo
flash,%,examples/Arduino/TFTBitmapLogo
RAM for global variables,%,examples/Arduino/TFTColorPicker
flash,%,examples/Arduino/TFTColorPicker
RAM for global variables,%,examples/Arduino/TFTDisplayText
flash,%,examples/Arduino/TFTDisplayText
RAM for global variables,%,examples/Arduino/TFTEtchASketch
flash,%,examples/Arduino/TFTEtchASketch
RAM for global variables,%,examples/Arduino/TFTGraph
flash,%,examples/Arduino/TFTGraph
RAM for global variables,%,examples/Arduino/TFTPong
flash,%,examples/Arduino/TFTPong
RAM for global variables,% arduino:avr:esplora,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:avr:leonardo,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:avr:mega,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:avr:nano,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:megaavr:nona4809,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:sam:arduino_due_x_dbg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,N/A,N/A,0,0.0,N/A,N/A,0,0.0,N/A,N/A,0,0.0,N/A,N/A,0,0.0,N/A,N/A,0,0.0,N/A,N/A arduino:samd:mkrzero,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 ```