2 Commits
Author SHA1 Message Date
AramJonghu 355117fd92 feat(makefile): adds a make formatter as task runner
C++ / fmt (pull_request) Successful in 5s
C++ / build & lint (pull_request) Failing after 10s
JS/TS / fmt & lint (pull_request) Successful in 11s
Python / fmt & lint (pull_request) Successful in 28s
Python / test & nuitka build (pull_request) Failing after 1m23s
Rust / build, clippy & fmt (pull_request) Failing after 5m10s
2026-10-30 02:22:27 +01:00
AramJonghu a9b7e10b6c fix(ci): cpp clang-tidy now properly reads non-build files only 2026-10-30 02:19:30 +01:00
2 changed files with 16 additions and 10 deletions
+4 -2
View File
@@ -40,5 +40,7 @@ jobs:
run: | run: |
sed -i 's/-mno-direct-extern-access //g' build/compile_commands.json sed -i 's/-mno-direct-extern-access //g' build/compile_commands.json
set -o pipefail set -o pipefail
run-clang-tidy -p build -j $(nproc) -header-filter="Plugins/.*" 2>&1 | \ run-clang-tidy -p build -j "$(nproc)" \
grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct\|Found compiler error\|warnings generated\.\|^Use -header-filter' -source-filter="^$(pwd)/Plugins/" \
-header-filter=".*Plugins/.*" \
-removed-arg=-mno-direct-extern-access
+4
View File
@@ -32,6 +32,7 @@ help:
@echo "check-cpp runs all C++ checks" @echo "check-cpp runs all C++ checks"
@echo "check-py runs all Python checks" @echo "check-py runs all Python checks"
@echo "check-rs runs all Rust checks" @echo "check-rs runs all Rust checks"
@echo "fmt-make formats the makefile using mbake (in case you like spaces instead of tabs)"
build: build:
$(BUILD) $(BUILD)
@@ -104,3 +105,6 @@ check-py:
$(MAKE) py-test $(MAKE) py-test
$(MAKE) py-check $(MAKE) py-check
$(MAKE) py-compile $(MAKE) py-compile
fmt-make:
mbake format makefile