Added CMakeLists config for cmake based builds (such as esp-idf) #453
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
name: Arduino Library CI | |
on: [pull_request, push, repository_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- uses: actions/checkout@v3 | |
- uses: actions/checkout@v3 | |
with: | |
repository: adafruit/ci-arduino | |
path: ci | |
- name: Install the prerequisites | |
run: bash ci/actions_install.sh | |
- name: Check for correct code formatting with clang-format | |
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r . | |
- name: Check for correct documentation with doxygen | |
env: | |
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} | |
PRETTYNAME : "Adafruit Bus IO Library" | |
run: bash ci/doxy_gen_and_deploy.sh | |
- name: Test the code on supported platforms | |
run: python3 ci/build_platform.py main_platforms zero feather32u4 | |