-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Unam3dd/13-feat-implement-clang-format-an…
…d-clang-tidy-rules 13 feat implement clang format and clang tidy rules
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
Checks: 'readability-function-size, readability-math-missing-parentheses, readability-duplicate-include' | ||
WarningsAsErrors: '.*' | ||
|
||
CheckOptions: | ||
- key: readability-function-size.LineThreshold | ||
value: '25' | ||
- key: readability-function-size.ParameterThreshold | ||
value: '5' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Norm | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
norm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository ${{ github.repository }} on a branch ${{ github.ref_name }} triggered by ${{ github.event_name }} | ||
uses: actions/checkout@v4 | ||
|
||
- run: "echo the ${{ github.repository }} has been cloned in the container !" | ||
|
||
- name: 🔄 Installing task... | ||
uses: arduino/setup-task@v2 | ||
with: | ||
version: 3.x | ||
|
||
- uses: actions/setup-python@v5 | ||
|
||
- name: 🔄 Installing Meson package build system... | ||
run: pip install meson | ||
|
||
- name: 🔄 Installing Dependencies... | ||
run: | | ||
echo "📦 Installing libcriterion-dev, Ninja" | ||
sudo apt-get update && sudo apt-get install -y libcriterion-dev ninja-build clang-tidy | ||
echo "✅ Dependencies installed!" | ||
- name: Run build release task... | ||
run: | | ||
echo "🏗️ Setting up Meson build system..." | ||
task build | ||
echo "🔄 Check the Norm..." | ||
task norm |
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