Skip to content

Commit 633a8ad

Browse files
committed
reordered the actions, so clang-format and doxygen are run first
This change reorders the actions so the least expensive and most failing actions are run first. On a typical run, doxygen and clang-format take each about 2s (plus 7s install), the complete building on all the supported platforms 10 minutes. In my experience, the most fails I get are from formatting and documentation errors, not from compilation problems. This gives the users a much faster feedback on needed changes in their commits and PRs and shaves off a lot of execution time.
1 parent d69421a commit 633a8ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example_actions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
- name: pre-install
2020
run: bash ci/actions_install.sh
2121

22-
- name: test platforms
23-
run: python3 ci/build_platform.py main_platforms
24-
2522
- name: clang
26-
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
23+
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
2724

2825
- name: doxygen
2926
env:
3027
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
3128
PRETTYNAME : "Adafruit Arduino Library"
3229
run: bash ci/doxy_gen_and_deploy.sh
30+
31+
- name: test platforms
32+
run: python3 ci/build_platform.py main_platforms

0 commit comments

Comments
 (0)