Write the components chapter, and point the two family chapters at it #193
This file contains hidden or 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: Tap House Style | |
| # Enforces the shared Tap House Rules: a drift check against the canonical TapHouse configs and a | |
| # clang-format check over the kernel's own sources. (Layout only — naming and mandatory braces are | |
| # enforced by .clang-tidy, which runs against the wrapper compile database in tap/taptools-max.) | |
| on: [push, pull_request] | |
| jobs: | |
| drift: | |
| # Fails if this repo's .clang-format/.clang-tidy/STYLE.md diverge from TapHouse. | |
| uses: tap/taphouse/.github/workflows/drift-check.yml@v5 | |
| with: | |
| ref: v5 | |
| clang-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install clang-format | |
| run: sudo apt-get update && sudo apt-get install -y clang-format-18 | |
| - name: clang-format check | |
| run: > | |
| clang-format-18 --dry-run --Werror | |
| $(git ls-files 'include/*.h' 'tests/*.cpp' 'tools/*.cpp' 'tools/*.h' 'bench/*.cpp') |