chore: add build, run, benchmark and publish steps to CI workflow and introduce isspam_v4 spam analysis module

This commit is contained in:
2024-12-02 14:10:18 +00:00
parent 05998da4a0
commit b27cc00f58
78 changed files with 416 additions and 1 deletions
+9 -1
View File
@@ -1,7 +1,7 @@
CC = gcc
CFLAGS = -Wall -Werror -Wextra -Ofast -std=c2x
all: build run valgrind build_risspam run_risspam benchmark
all: build run valgrind build_risspam run_risspam
build:
@echo "Compiling retoor_c project.".
@@ -40,6 +40,14 @@ run_not_spam_risspam:
valgrind: build
valgrind ./isspam ./spam/*.txt
publish:
wget https://retoor.molodetz.nl/api/packages/retoor/generic/env.py/1.0.0/env.py
wget https://retoor.molodetz.nl/api/packages/retoor/generic/publish/1.0.0/publish
chmod +x publish
./publish isspam
./publish risspam
rm publish
rm env.py
benchmark:
-@rm -rf books
echo "Extracting books."