From 67ce60faf9876d6c6f28f53514e7a45395d327e3 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 18 Oct 2024 00:25:17 +1100 Subject: use make in ci action --- .github/workflows/continuous-workflow.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-workflow.yml b/.github/workflows/continuous-workflow.yml index f9a3f53..1b5c8ce 100644 --- a/.github/workflows/continuous-workflow.yml +++ b/.github/workflows/continuous-workflow.yml @@ -18,4 +18,4 @@ jobs: - name: Check formatting run: find src/ -iname *.h -o -iname *.c | xargs clang-format --style=file --dry-run --Werror - name: Compile C code - run: xmake build -y + run: make diff --git a/Makefile b/Makefile index b4cf4d9..afa79ed 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ format: .PHONY: tidy tidy: - clang-tidy $(SRCS) $(EXAMPLES_DIR)/*.c -- $(CFLAGS) + clang-tidy -fix $(SRCS) $(EXAMPLES_DIR)/*.c -- $(CFLAGS) .PHONY: clean clean: -- cgit v1.2.3-70-g09d2