chore: add build, run, benchmark and publish steps to CI workflow and introduce isspam_v4 spam analysis module
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user