This repos contains various scripts and tools related to running continuous integration (CI) checks on Diode IoT's Arduino Library Repos.
- Copy
.githubfolder to new repo. - Change
githubci.yml.tempfile name togithubci.ymlin the.github/workflows/folder. - Edit
githubci.ymland changeDOC_LANGto any desired documentation language. (options: en, tr) (default: en) - Edit
githubci.ymland changePRETTY_NAMEto repo name. (default: "Diode IoT [Repository name after last '_' character]") - These actions will now run automatically on any push and pull request.
- Copy
.clang-format.gitignoreLICENSEfiles to the root folder of new repo.
The run-clang-format.py script is used to run clang-format and check file formatting.
Even a single extra white space can cause the CI to fail on formatting.
You can typically just let clang-format do its thing and edit files in place using:
clang-format -i file_to_format.cpp
The doxygen_deploy.sh script uses Doxygen to generate and deploy documentation
for the library. Any issues, like missing documentation, will cause the CI to fail.