File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : arduino/arduino-lint-action@v1
15+ with :
16+ library-manager : update
17+ compliance : strict
18+
19+ test :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - uses : actions/setup-python@v4
24+ with :
25+ python-version : " 3.x"
26+ - uses : actions/checkout@v4
27+ - uses : actions/checkout@v4
28+ with :
29+ repository : adafruit/ci-arduino
30+ path : ci
31+ - name : Install the prerequisites
32+ run : bash ci/actions_install.sh
33+ - name : Check for correct code formatting with clang-format
34+ run : python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
35+ # Make sure to run the `clang-format -i src/*.h src/*.cpp` on the repo.
36+ # To clean the Sources `clang-format -i examples/basic_use/basic_use.ino`
37+
38+ - name : Test the code on supported platforms
39+ run : python3 ci/build_platform.py main_platforms zero feather32u4 pico_rp2040
You can’t perform that action at this time.
0 commit comments