Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub Actions for CI #236

Merged
merged 23 commits into from
Oct 4, 2020
Merged

Use GitHub Actions for CI #236

merged 23 commits into from
Oct 4, 2020

Commits on Oct 4, 2020

  1. Add CI workflow to check for misspelled words

    On every push and pull request, the files of the repository will be checked for commonly misspelled words using codespell.
    
    The workflow is also run weekly in order to catch new misspelled word detections that result from updates to the codespell dictionary.
    
    In the event of a false positive, add the word in all lower case to megaavr/extras/ci/codespell-ignore-words-list.txt
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    38e96aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57441bf View commit details
    Browse the repository at this point in the history
  3. Add CI workflow to check structure of bundled libraries

    This workflow checks for common issues with the structure of the platform bundled libraries.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    24287b2 View commit details
    Browse the repository at this point in the history
  4. Add CI workflow to check library.properties of bundled libraries

    This workflow checks for common issues with the library.properties files of the platform bundled libraries.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    9d0d54b View commit details
    Browse the repository at this point in the history
  5. Add CI workflow to check keywords.txt of bundled libraries

    This workflow checks for common problems with the keywords.txt files of the platform bundled libraries.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    d061f0b View commit details
    Browse the repository at this point in the history
  6. Use correct field separator in keywords.txt

    The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab, the keyword is not highlighted.
    
    Reference:
    https://arduino.github.io/arduino-cli/latest/library-specification/#keywordstxt-format
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    8cb9332 View commit details
    Browse the repository at this point in the history
  7. Add CI workflow to check for UTF-8 BOM file encoding

    Some low quality text editors may use this encoding by default. The invisible BOM character added to the first line can
    cause confusing errors.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    078cd8b View commit details
    Browse the repository at this point in the history
  8. Add CI check for files starting with a blank line

    There is no reason for a file to ever start with a blank line, so adding one would only pollute the diff.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    8c4d7b1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cb76d05 View commit details
    Browse the repository at this point in the history
  10. Add CI workflow to check for unnecessary use of true tabs

    The code uses spaces for indentation.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    d46e81c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b3ea781 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2457471 View commit details
    Browse the repository at this point in the history
  13. Remove trailing whitespace

    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    73489b5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3d81ff9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8ee3d92 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6017cf8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0eb4cb9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2c4b8c3 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    15d4d70 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    12d7162 View commit details
    Browse the repository at this point in the history
  21. Add CI workflow to compile example sketches

    Example sketches of all bundled libraries are compiled for all boards of the platform.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    a2cd1c4 View commit details
    Browse the repository at this point in the history
  22. Add a CI workflow to report memory usage change caused by PRs

    On every push, change in memory usage is calculated and displayed in the workflow build log.
    A JSON format file containing this information as well as other data on the compilations is saved as a workflow log.
    
    The memory usage change report will be commented to the pull request thread.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    56cd532 View commit details
    Browse the repository at this point in the history
  23. Configure Compile Examples CI workflow to report changes in compiler …

    …warning count
    
    The compiler warning count delta will be displayed in the workflow build log and in the workflow artifact files.
    per1234 committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    158970a View commit details
    Browse the repository at this point in the history