summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 00:25:17 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 00:25:17 +1100
commit67ce60faf9876d6c6f28f53514e7a45395d327e3 (patch)
treebf9dc7a688c4fdef9475c3cd8ef5d7bfaf8c77f2
parent5234133f2d55dc7f24eaa63b86e3952decaaba91 (diff)
use make in ci action
-rw-r--r--.github/workflows/continuous-workflow.yml2
-rw-r--r--Makefile2
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: